m. allan noah wrote: > 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 > Thats exactly what I wanted, thanks a lot !
I noticed in the logs the following line: Use of uninitialized value $string in pattern match (m//) at /opt/qpsmtpd/plugins/regex_helo line 66. It seems that connection notes is only set when regex_helo finds a match ? Christian > 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 >> >> > > >