spamassassin-dev September 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6660] __NSL_RCVD_FROM_41 should include t

[Bug 6660] __NSL_RCVD_FROM_41 should include test for (41. in addition to [41.

From: <bugzilla-daemon_at_nospam>
Date: Wed Sep 21 2011 - 17:41:41 GMT
To: dev@spamassassin.apache.org

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6660

Adam Katz <antispam@khopis.com> changed:

           What |Removed |Added
----------------------------------------------------------------------------
             Status|RESOLVED |REOPENED
                 CC| |antispam@khopis.com
         Resolution|FIXED |

--- Comment #2 from Adam Katz <antispam@khopis.com> 2011-09-21 17:41:41 UTC ---
(In reply to comment #1)
> Committed revision 1171995
> -header __NSL_RCVD_FROM_41 Received =~ /\[41\./
> +header __NSL_RCVD_FROM_41 Received =~ /[([]41\./

You're better off with the built-in Received header parser:

header __NSL_RCVD_FROM_41 X-Spam-Relays-External =~ / ip=41\./

-- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.