diff options
author | ache <ache@FreeBSD.org> | 2002-03-03 18:19:28 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-03-03 18:19:28 +0800 |
commit | de423208120bf2c96d692024bc70f800ca60bd77 (patch) | |
tree | 41a2ba96d87235170c90902729e173342020cc99 /mail/p5-Mail-SpamAssassin | |
parent | 2c4f60de1d4829f00c2e3b8df6e768bb4631d4d5 (diff) | |
download | freebsd-ports-gnome-de423208120bf2c96d692024bc70f800ca60bd77.tar.gz freebsd-ports-gnome-de423208120bf2c96d692024bc70f800ca60bd77.tar.zst freebsd-ports-gnome-de423208120bf2c96d692024bc70f800ca60bd77.zip |
Fix situation when legal hotmail headers treated as fake ones
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r-- | mail/p5-Mail-SpamAssassin/Makefile | 2 | ||||
-rw-r--r-- | mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile index 9f5bb966ce90..4b347b74f99f 100644 --- a/mail/p5-Mail-SpamAssassin/Makefile +++ b/mail/p5-Mail-SpamAssassin/Makefile @@ -7,7 +7,7 @@ PORTNAME= Mail-SpamAssassin PORTVERSION= 2.01 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail diff --git a/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm b/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm index c1307e54631d..c6758efc6be7 100644 --- a/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm +++ b/mail/p5-Mail-SpamAssassin/files/patch-lib-Mail-SpamAssassin::EvalTests.pm @@ -1,5 +1,14 @@ ---- lib/Mail/SpamAssassin/EvalTests.pm.bak Fri Jan 25 07:36:02 2002 -+++ lib/Mail/SpamAssassin/EvalTests.pm Tue Feb 26 19:17:43 2002 +--- lib/Mail/SpamAssassin/EvalTests.pm.orig Fri Jan 25 07:36:02 2002 ++++ lib/Mail/SpamAssassin/EvalTests.pm Sun Mar 3 13:02:37 2002 +@@ -115,7 +115,7 @@ + my $rcvd = $self->get ('Received'); + $rcvd =~ s/\s+/ /gs; # just spaces, simplify the regexp + +- my $ip = $self->get ('X-Originating-Ip'); ++ my $ip = $self->get ('X-Originating-IP'); + if ($ip =~ /\d+\.\d+\.\d+\.\d+/) { $ip = 1; } else { $ip = 0; } + + # Hotmail formats its received headers like this: @@ -688,10 +688,17 @@ sub check_for_faraway_charset_in_headers { |