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
> Dspam-user@lists.sourceforge.net
> 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:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user