On Thu, 8 Jan 2009 23:12:47 +0300, "JVlad" <d...@yandex.ru> wrote:
>>> sendmail + spamassassin milter (written by Georg C. F. et al) >>> everything works great so far, except I need to save the spamassassin >>> results (score+sender) and do this synchronously, right after the score >>> is calculated. >> >> How about a perl script that opens a reader on >> "<tail --follow=/var/log/maillog --max-unchanged-stats=10" >> ? > >Thanks, but is there a way to get this perl script executed as part of >Spamassassin work and pass there score, ip, and address? >Does spamassassin support such post-processing plugins? Synchronously is doubtful. SA works as a series in the mail chain - in my case mail is passed from the MTA to SA, it in turn scores the mail and from there my MTA reads the score and acts accordingly - as do many others. If your mail load is high then you would presumably run multiple SA servers, here if SA1 is busy it (the MTA) passes to SA2 etc. Based on all the above the mail is either dropped into the /suspect folder for manual checking, bounced as greylisted or passed. HTH KR Nigel