Re: [exim] Smarthost condition for special senderhost

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nigel Metheringham
Päiväys:  
Vastaanottaja: Jens Strohschnitter
Kopio: EXIM Official Maillist
Aihe: Re: [exim] Smarthost condition for special senderhost

On 26 Jun 2008, at 11:23, Jens Strohschnitter wrote:

> smarthost1:
> driver = manualroute
> condition = ${if eq {$sender_host_address}{mycomputer.dom.org}{1}{0}}

   IP Address             ^^^^^^^^^^^^^^^^^^^
   Name                                        ^^^^^^^^^^^^^^^^^^


Not equal!

Maybe you want the $sender_helo_name (easily forged), or to compare
the IP to an IP address (easier to use the host condition).

    Nigel.


--
[ Nigel Metheringham             Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]