[Mimedefang] filter_relay not working

Jack Olszewski jacek at hermes.net.au
Fri May 9 03:00:01 EDT 2003


From: "David F. Skoll" <dfs at roaringpenguin.com>
Subject: Re: [Mimedefang] filter_relay not working
Date: Thu, 8 May 2003 13:58:19 -0400 (EDT)

dfs> On Thu, 8 May 2003, Myles Uyema wrote:
dfs> 
dfs> > I'm trying to implement sub filter_relay and reject hosts that greet using
dfs> > an IP address: http://www.mimedefang.com/node.php?id=23
dfs> 
dfs> > if ($helo =~ /^(d{1,3})(.)(d{1,3})(.)(d{1,3})(.)(d{1,3})$/)
dfs> 
dfs> You want "\d", not "d" in the regular expression:
dfs> 
dfs> > if ($helo =~ /^(\d{1,3})(.)(\d{1,3})(.)(\d{1,3})(.)(\d{1,3})$/)
dfs> 
dfs> The Web publishing software we used on mimedefang.org makes it
dfs> annoyingly-difficult to enter a backslash on the Web page.  I finally
dfs> coerced it into accepting the backslash, and have updated the page.

How safe is it to reject hosts that greet the receiving end with their
ip numbers? In other words, aren't there any legitimate mail servers
presenting themselves like that? And what about strings with no dots
in them?

Jack



More information about the MIMEDefang mailing list