Re: [exim] Smarthost condition for special senderhost

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nigel Metheringham
Datum:  
CC: EXIM Official Maillist
Betreff: Re: [exim] Smarthost condition for special senderhost

On 26 Jun 2008, at 11:55, Jens Strohschnitter wrote:
> I tried:
>
> condition = ${if eq {$sender_helo_name}{senderaddr@???}{1}{0}}


sender_helo_name is the name the sending MTA used when saying HELO
to the receiver. It should look like a full qualified domain name
ie system.example.com - there should be no @ within it, so that
example also will never match.

Working from your original example, you want
condition = ${if eq {$sender_helo_name}{mycomputer.dom.org}{1}{0}}

although personally I would just use
    hosts = mycomputer.dom.org
assuming your DNS works and is sane - or use the IP address there.


    Nigel.


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