[Mimedefang] HELO + PTR countr-code TLD matching
Mark
admin at asarian-host.net
Thu Feb 5 05:30:08 EST 2004
----- Original Message -----
From: "Lucas Albers" <admin at cs.montana.edu>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Wednesday, February 04, 2004 6:57 PM
Subject: Re: [Mimedefang] HELO + PTR countr-code TLD matching
> > 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?
Sure. :) I did not originally write it for MimeDefang, so I rewrote it to
fit "filter_relay" (which, I believe, is where it should go). It is in the
attachment, to avoid wraps.
Cheers,
- Mark
System Administrator Asarian-host.org
---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter_relay.pl
Type: application/octet-stream
Size: 7876 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20040205/e7e64a05/attachment.obj>
More information about the MIMEDefang
mailing list