SA Bugzilla – Bug 5273
RFE: _LASTEXTERNALIP_ header markup tag
Last modified: 2007-01-05 05:27:23 UTC
requested via mail -- a way to have the connecting IP address marked up in spam messages. This has been requested a few times by different people, and it's doable now; currently, we can do this via something like add_header all Relays-Untrusted _RELAYSUNTRUSTED_ and then the user can parse out the IP from that. but that's clunky and requires quite a bit of parsing (or at least a fairly smart regexp). It would be a lot easier for people if they could just log just that last untrusted IP, or last external IP, in a header by itself: add_header Relaying-IP _LASTEXTERNALIP_ it should be a single line or so in PerMsgStatus to do this...
aiming at 3.2.0 optimistically
: jm 315...; svn commit -m "bug 5273: add _LASTEXTERNALIP_, _LASTEXTERNALRDNS_, _LASTEXTERNALHELO_ markup tags, to allow adding the connecting IP/HELO as markup to message headers" lib/Mail/SpamAssassin/Conf.pm lib/Mail/SpamAssassin/PerMsgStatus.pm Sending lib/Mail/SpamAssassin/Conf.pm Sending lib/Mail/SpamAssassin/PerMsgStatus.pm Transmitting file data .. Committed revision 493029.