Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

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