Mike Cardwell wrote:
> * on the Wed, Dec 06, 2006 at 01:09:14PM -0500, Anthony de Boer wrote:
>
>   
>>>> Is there a simple way to set my HELO to be the same as my RDNS? 
>>>>         
>>> 1. Check your reverse DNS with lookup dnsdb
>>> 2. Set it with helo_data in your remote smtp transport.
>>> 3. ???
>>> 4. Profit!
>>>       
>> Fairly simple so long as the box has only one Internet-facing IP
>> address and it has stable reverse DNS.
>>     
>
> I already do what was described above. My remote_smtp router:
>
> 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
>
> It falls back to using the value of primary_hostname if the dns
> lookup fails.
>
> I do this to handle different 'suppliers' that sit on different
> interfaces that want different welcome messages, helo's, received
> headers etc etc.
>
> Mike
>
>   

Mike - THANKS! That's what I was looking for.

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