Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: move code to files on people.apache.org

...

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.

...