[Mimedefang] filter_relay not working

Myles Uyema mlists at uyema.net
Thu May 8 14:15:01 EDT 2003


AWESOME!  Thanks guys!
554 5.7.1 Please use your host name when saying HELO

On Thu, 8 May 2003, David F. Skoll wrote:

On Thu, 8 May 2003, Myles Uyema wrote:

> I'm trying to implement sub filter_relay and reject hosts that greet using
> an IP address: http://www.mimedefang.com/node.php?id=23

> if ($helo =~ /^(d{1,3})(.)(d{1,3})(.)(d{1,3})(.)(d{1,3})$/)

You want "\d", not "d" in the regular expression:

> if ($helo =~ /^(\d{1,3})(.)(\d{1,3})(.)(\d{1,3})(.)(\d{1,3})$/)

The Web publishing software we used on mimedefang.org makes it
annoyingly-difficult to enter a backslash on the Web page.  I finally
coerced it into accepting the backslash, and have updated the page.

Regards,

David.
_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list