Milter to check for an ip literal without brackets in helo
use Mail::Milter::Module::HeloRawLiteral;
my $milter = new Mail::Milter::Module::HeloRawLiteral();
my $milter2 = &HeloRawLiteral; # convenience
\s-1RFC2821:4\s0.1.3 specifies that raw \s-1IP\s0 addresses may be used in \s-1HELO\s0, but only if they are enclosed in [square brackets]. Spam engines sometimes forget the brackets, so this milter will catch them.
Todd Vierling, <[email protected]> <[email protected]>
Mail::Milter::Object