--On Monday, January 9, 2006 16:21 -0700 Philip Prindeville <[EMAIL PROTECTED]> wrote:


    if ($helo =~ /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/) {
        return ('REJECT', "Incorrect format for address-literal");
. . .
    if (index($helo, '.') == -1) {
        return ('REJECT', "Expected fully-qualified domain name");
. . .


Anyone have any suggestions or comments about how this could be improved?



You will reject legitimate mail from variously misconfigured servers.
They will tend to be run by nonprofits and small businesses.  Remember
that the purpose of the exercise is not be RFC cop but to cut down on
spam.  I think you'll have to back off rejecting these and have to
score for this instead.  That's my experience anyway.

Joseph Brennan
Columbia University Information Technology


_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to