Re: scanned several times

Rick Leir <[email protected]>
Newsgroups gmane.mail.spam.dspam.user
Organization a1107
Message-ID <[email protected]>
On Tue, 2014-05-06 at 10:03 +0200, Tom Hendrikx wrote:

> Hi Rick,
> 
> You should just make sure that at all times, only one dspam header is
> available. After the message targeted at the mailinglist is received by
> postfix, classified by DSPAM and handed of to the mailing list software,
> it should have DSPAM headers in there, right?

Recap: two or more sets of dspam headers are on messages that came to us
via local mailing lists (local meaning that mailman is on the same
server as postfix).  The duplicate headers made it impossible to retrain
a message.

The fix: in main.cf, add the line:
   header_checks = regexp:/etc/postfix/header_checks.regexp

Create the header_checks.regexp file containing:

/^(X-DSPAM-Resu[A-z]*): (.+)$/ REPLACE X-prev${1}: ${2}
/^(X-DSPAM-Proc[A-z]*): (.+)$/ REPLACE X-prev${1}: ${2}
/^(X-DSPAM-Conf[A-z]*): (.+)$/ REPLACE X-prev${1}: ${2}
/^(X-DSPAM-Prob[A-z]*): (.+)$/ REPLACE X-prev${1}: ${2}
/^(X-DSPAM-Sign[A-z]*): (.+)$/ REPLACE X-prev${1}: ${2}

Restart postfix. 
Tom, thanks so much.

> _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user


Rick Leir, Senior Developer
http://CirrusComputing.com/

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce

_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.