-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philip Tucker writes:
> What's the best way to add a MIME header for the connecting IP address
> such that SpamAssassin can access it (we have a system where the
> received header is not added until after SpamAssassin sees the message)?
> It looks like X-Originating-IP or X-Apparently-From are candidates.
> Does it matter?

Yes -- don't use those, they're considered the ultimate originator,
e.g. right at the *start* of the Received chain.

Your best bet would be to synthesise a Received header in sendmail-ish
format. e.g.

 Received: from $HELONAME ([$IP]) by
    $ANYTHING with $OUR_PROTOCOL_NAME (version stamp);
    $DATE_RFC_822_FORMAT

If you don't know $HELONAME, use $IP as well.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/rBvQQTcbUG5Y7woRAnTDAJ0cuPUtseHEy23tXKLjMygw0ePO4QCcDiGV
nuORztDxmxEeUBk/+AIuYMo=
=fGcE
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to