I have a plugin called regex_helo which can do just this. see: http://www.thebility.com/qplocal/
You don't have to use all of qplocal, you can just take that one plugin and use it like any other. allan On Thu, Jan 21, 2010 at 10:57 AM, Christian Herndler <christ...@herndler.com> wrote: > Good afternoon, > > I don't have programming skills so I'd like to ask for help: > > I get a lot of spam where the sender uses a whole /24 Subnet as mail > relay, the helo uses the pattern > > mx{last-octet-of-ip}.domainname.net > > so it could be blocked using the check_spamhelo plugin, but to do that > this plugin would need a small change as it only works with hostnames. > > Can somebody give me help ? > > Christian > > -- "The truth is an offense, but not a sin"