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

Top Pagina
Delete this message
Reply to this message
Auteur: Fred Viles
Datum:  
Aan: exim-users
Onderwerp: 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