Re: Filtering on two headers / checking MX entries ?

Stephen Warren <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Corey Halpin wrote:
>   Also, does anybody know of a way to check if the origin of an email (as 
> determined by the earliest of the Received headers) is actually an MX?
>   I'd like to avoid sending confirm messages based on email from machines that 
> weren't MXes.

Doing this is likely a very bad idea - you will get far too many false
positives.

It's perfectly legal (and not uncommon) for sites to have different
systems (or even just IP addresses on the same systems) for inbound and
outbound mail processing.

However, take a look at SPF - http://www.openspf.org/ - which allows
domain owners to publish a list of valid outbound mail servers, so that
you can perform a very similar check to your original idea.
Unfortunately, SPF isn't as widely adopted as one would like.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFk/aLhk3bo0lNTrURAh7BAJ9yI+ahiXXUKFu4GEJVBZBXsJSm0wCg6zJA
GC7s4tRLb4C/6D8erl5QpGg=
=Cvoo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.