[Mimedefang] HELO + PTR countr-code TLD matching

Lucas Albers admin at cs.montana.edu
Wed Feb 4 12:56:58 EST 2004


Mark said:
> Hello folks,
>
> This may not be, in the strictest sense, a MIMEDefang matter per se; but
> this afternoon I thought up a nice HELO test, that I think may be of use
> to
> others here too.
>
> When I have a valid HELO name and a valid PTR, I check to see whether both
> end in a valid country-code TLD; and, if so, whether they match. If not, I
> reject the message. Like so:
>
Could you please post your code?

-- 
Luke Computer Science System Administrator



More information about the MIMEDefang mailing list