The WrongMX Plugin
Code updated May 3, 2005
WrongMX determines if an email was sent to a lower preference MX when a higher preference MX was likely available.
Requirements
Requires Net::DNS
Code
wrongmx.cf:
No Format |
---|
loadplugin WrongMX wrongmx.pm
header WRONGMX eval:wrongmx()
describe WRONGMX Sent to lower pref MX when higher pref MX was up.
tflags WRONGMX net
score WRONGMX 1.0
|
wrongmx.pm:
...
Add the following files to your local configuration directory (usually /etc/mail/spamassassin):
For Apache SpamAssassin 3.x.x:
- http://people.apache.org/~dos/sa-plugins/3.0/wrongmx.cf
- http://people.apache.org/~dos/sa-plugins/3.0/wrongmx.pm
How To Use It
Save the two files above in your local configuration directory (/etc/mail/spamassassin/) and set the score in wrongmx.cf to whatever you desire, based on your confidence in your primary MX server stability.
...
Do not use this plugin on overloaded mail systems that frequently stop accepting connections on the primary MX servers due to system load since it will cause some false positives if you set the score too high.CategorySoftware