Marc MERLIN wrote:
> Always one step ahead of us, aren't you? :)
Tell us something new. :)
But this item was on the wishlist for a loooooooooooooooong time. :)
> Yes, this is exactly what I needed, thank you very much.
> Actually I found a very very small hitch
> match_domain{host.domain.tld.}{+domainlist}
> doesn't match due to the trailing '.', but matches if I remove it.
>
>
> In return, here's a newer HELO checker suite if people are interested (the
> last one is thanks to your new option).
> This is for running in the rcpt to ACL, and I didn't write all of those
> ACLs, some come from some of you :)
>
>
> deny message = "HELO/EHLO required by SMTP RFC"
> condition = ${if eq{$sender_helo_name}{}{yes}{no}}
> .ifdef TEERGRUBE
> delay = TEERGRUBE
> .endif
How about setting TEERGRUBE=0s as default?
Or maybe using something like
${if eqi{TEERGRUBE}{teergrube}{0s}{TEERGRUBE}}
All those .ifdefs are really ugly.
Nico