----- Original Message ----- 
From: "Lucas Albers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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

Attachment: filter_relay.pl
Description: Binary data

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to