[Mimedefang] $helo filter checks
Geoff Thornton
gthornton at networksgroup.com
Thu Oct 2 15:49:01 EDT 2003
On Thu, 2 Oct 2003, Richard Earley wrote:
> some systems use 123.45.6.7 where others would use 123.045.006.007 yuck!
Just a suggestion (not that I'm a master of regex or anything)...
The following command should strip out any zeros following a period or at
the beginning of the string:
s/(^|\.)0+/$1/g;
Hope that's useful...
--Geoff Thornton
NetWorks Group
More information about the MIMEDefang
mailing list