Hi,

I'm currently having a problem with spamassassin (SpamAssassin version 3.2.5, running on Perl version 5.10.0). I'm using Spamassassin within postfix/spamd/spamc in /etc/postfix/master.cf:

smtp      inet  n       -       n       -       -       smtpd
       -o content_filter=spamassassin

/etc/postfix/transport:
lists.domain.tld          mailman:
domain.tld   local

I've also a domain based configuration for mailman (everything going to *.lists.domain.tld is forwarded to mailman). So if I receive a mail to an mailinglist it's getting scanned/scored, passed to mailman and scanned/scored again:

Dec 16 12:24:12 localhost spamd[21548]: spamd: getting username through alias: mailinglist Dec 16 12:24:13 localhost spamd[21548]: spamd: handle_user unable to find user: 'mailinglist' Dec 16 12:24:16 localhost spamd[21548]: spamd: clean message (4.7/5.0) for mailinglist:99 in 5.1 seconds, 1523 bytes. Dec 16 12:24:17 localhost postfix/pipe[21584]: 2E85E714115: to=<mailingl...@lists.domain.tld>, orig_to=<mailingl...@domain.tld>, relay=mailman, delay=0.24, delays=0/0.01/0/0.24, dsn=2.0.0, status=sent (delivered via mailman service)
...
Dec 16 12:24:19 localhost spamd[21549]: spamd: setuid to mailinglistmember succeeded! Dec 16 12:24:21 localhost spamd[21548]: spamd: clean message (-0.5/5.0) for mailinglistmember

So the previously score of "4.7" is getting rewritten to "-0.5" in the second scan after mailman is delivering them to the mailinglistmember. Is there a way to ignore allready scanned mails or mails coming from mailman, so they don't get scored again while being delivered to the enduser?

Regards,
Anton

Reply via email to