Re: [Exim] ACL to block specific Hello & IP

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tor Slettnes
Datum:  
To: Christoph Kliemt
CC: exim-users
Betreff: Re: [Exim] ACL to block specific Hello & IP
On Apr 6, 2004, at 00:54, Christoph Kliemt wrote:
> Something like this (acl_smtp_mail) ?
>
> deny condition = ${if or { {!def:sender_helo_name} { eq
> {$sender_helo_name}{} }}{true}{false}}
>      message = Polite people say HELO/EHLO first.


This is actually redudant. "def:sender_helo_name" is only true if
$sender_helo_name is non-empty.

      deny message   = Polite people say HELO/EHLO first.
           condition = ${if !def:sender_helo_name {true}{false}}



-tor