[Mimedefang] filter_relay not working
David F. Skoll
dfs at roaringpenguin.com
Thu May 8 13:59:01 EDT 2003
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.
More information about the MIMEDefang
mailing list