Re: [exim] Delivery router using DNS lookup by specific send…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: ikearns
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Delivery router using DNS lookup by specific senderaddress

Hi there

Thanks for the advice, it is very helpful.

I think I might have misled you in my original question, when I was
referring to 'specific senders address' I meant an email address not an IP
address - sorry!

I would have normally replied back via the forum but could not see your
reply in the thread

Your help is very much appreciated


Drav Sloan wrote:
>
> ikearns wrote:
>> Hi there
>>
>> I am looking at modifying our current Exim (4.63) server to route all
>> outbound emails, when sent from a specific sender address, to be
>> delivered
>> direct from the server by DNS MX lookup rather than smarthost or
>> manualroute
>> (which is our other ways of mail delivery)
>>
>> Can anyone help me get started?
>
> Before your smarthost and manualroute routers:
>
> dnslookup:
> driver = dnslookup
> domains = ! +local_domains
> condition = ${if match_ip{$sender_host_address}{iplsearch;/some/file}}
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> no_more
>
>
> and the transport:
>
> remote_smtp:
> driver = smtp
>
>
> The /some/file can contain ip's and CIDR net defintions.
>
> Untested, but I think that'll do the job
>
> Regards
>
> D.
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
>


--
View this message in context: http://www.nabble.com/Delivery-router-using-DNS-lookup-by-specific-sender-address-tf4696825.html#a13426569
Sent from the Exim Users mailing list archive at Nabble.com.