[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] sma sendmail log analysis



Abigail Marshall wrote:
Are there any specific modifications you had to make for the
VPS1 ? I believe I tried to install this program about 6
months ago but was unable to get meaningful data or reports;
I assumed at the time that the problem was the log format
for the ~/var/log/messages file.

Hi Abigail,

Yep, exactly right. VPS1 logs contain both user logins and server activity. The <XX> needs to be removed. I made a sed commands file
"sedcmds":
s/<XX>//
s/sendmail/ServerName sendmail/

Put any name your want on the report in place of "ServerName"

Then in my daily crontab file afetr a cd to whereever you put sma and these files:

sed -f sedcmds $HOME/var/log/dailyMessages >maillog
./sma maillog

Check the sma.conf and change whatever you like. That should do it!

I really like the way you can see who's using the bandwidth for too many mailing lists!

r
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: