Re: [exim] Smarthost condition for special senderhost

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jens Strohschnitter
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Smarthost condition for special senderhost

> > 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.

>


Is there no way to use condition on senderadresses ?

--
kind regards,

Jens Strohschnitter

-----------------------------------------
LINUX LINUX LINUX LINUX LINUX LINUX LINUX

Set the controls
         for the heart of the sun


LINUX LINUX LINUX LINUX LINUX LINUX LINUX
-----------------------------------------