Hi all,

Thanks for the replies ...


What do y'all thinnk of this one?
(I tripped accross it earlier this AM).


remote_smtp
        debug_print = "T: remote_smtp for [EMAIL PROTECTED]"
        driver = smtp
        helo_data = ${lookup 
dnsdb{defer_never,ptr=$interface_address}{$value}{$primary_hostname}}
        interface = $interface_address
        return_path_add = true

-Grant


----- Original Message ----- 
From: "Marc Sherman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, December 17, 2006 8:59 AM
Subject: Re: [exim] How to set the outgoing SMTP IP address


> Jakob Hirsch wrote:
>>
>> I presume you vhost setup is separated by domains, so you can use the
>> sender domain to get the ip address:
>>
>> remote_smtp:
>>   driver = smtp
>>   interface = ${lookup {$sender_address_domain} your_lookup {...}}
>>
>> your_lookup depends on where you have stored the domain-to-ip mapping.
>> You could also use the dnsdb lookup (which I personally don't like much,
>> and AFAIR it's not compiled into Exim by default).
>>
>> Oh, and to prevent abuse, you should make sure that the sender domain
>> matches the domain part of the authenticated user.
>
> Don't forget to also set your helo_data to a name which resolves (and
> reverse resolves) to the value you set interface to; as recently
> discussed in the list archives, a couple of big players have recently
> started blocking on HELO names not matching the incoming IP.
>
> - Marc
>
> -- 
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
> 



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to