Re: [Exim] Feature request: 'sender_helo_name' ACL condition

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Fred Viles
Date:  
À: exim-users
Sujet: Re: [Exim] Feature request: 'sender_helo_name' ACL condition
On 5 Mar 2004 at 9:54, Tor Slettnes wrote about
    "[Exim] Feature request: 'sender_hel":


|...
|           deny message  = Go away, impostor!
|               condition = ${if eq
| {$sender_helo_name}{$primary_hostname}{yes}{no}}

|
| However, this only catches the primary host name (in my case,
| 'net.slett.net'), not the domains for which the machine is configured
| to handle mail ('slett.net'...)


If you only have a few names, you can test them all in-line using the
"or" condition (that's what I do). If you have a lot, you can put
them in a file and use lsearch or even wildlsearch if appropriate.

- Fred