Just to add to this, I setup logging like this (please forgive the wrap on the formail line):
LOGFILE = /var/merlin/log/procmaillog VERBOSE = off LOGABSTRACT = off TRAP='echo "=~=~=~=~=~=~=~=~=~="; \ echo "Date: $DATE"; \ formail -XFrom: -XTo: -XSubject: -XX-Merlin -XX-Spam-Status: -XX-Spam-Report: -XX-DCC' This way I quickly capture envelope sender/recipients (-XX-Merlin), header sender/recipients, the SA status and spam report. I then have a reporting module that produces reports for me. One is daily and the others are either canned or dynamic reports generated within a Webmin module. I do the same thing with the Postfix maillog also. As long as you have the data you can produce it from anything though. --Larry > -----Original Message----- > From: Jim > On Wed, Sep 17, 2003 at 04:39:33PM +0200, Jens Strohschnitter wrote: > > is it possible to write a seperate logfile for spamd/spamc > > that logs all spam-recognized mails ? The parameterlist of > > spamd/spamc showes me no command that I can use for. > > Use procmail. > > Fwiw, here's something I am toying with, maybe it will work for you: > > SPAMLOGDIR=/var/log/spamlog > > :0c > * X-Spam-Flag: YES > | printf '.' >> "$SPAMLOGDIR/$RECIPIENT" > > > Then I can use the size of the file to recognize how many > spams have been > identified for that recipient address. > > (Note that setting $RECIPIENT is left up to you depending on what > MTA you're using, etc..) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk