Mailing List Archive

[Spamassassin Wiki] Update of "WrongMXPlugin" by DarylOshea
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by DarylOshea:
http://wiki.apache.org/spamassassin/WrongMXPlugin

The comment on the change is:
fix undef issue

------------------------------------------------------------------------------

# if there is only one received header we can bail
my $times_ref = ($permsgstatus->{received_header_times});
- return 0 if (scalar(@$times_ref) < 2); # if it only hit one server were done
+ return 0 if (!defined($times_ref) || scalar(@$times_ref) < 2); # if it only hit one server we're done

# next we need the recipient domain's MX records... who's the recipient
my $recipient_domain;
[Spamassassin Wiki] Update of "WrongMXPlugin" by DarylOshea [ In reply to ]
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by DarylOshea:
http://wiki.apache.org/spamassassin/WrongMXPlugin

The comment on the change is:
add version date

------------------------------------------------------------------------------
= 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.