Re: [Exim] HELO & multiple domains

Top Page
Delete this message
Reply to this message
Author: jzaw
Date:  
To: exim-users
Subject: Re: [Exim] HELO & multiple domains
On Sunday, Nov 23, 2003, at 17:38 Europe/London, Rick Cooper wrote:
> A couple come to mind:
>
> If you have a standard ptr/A record setup for each domain such as
> "smtp.domain" then
>
> helo_data = smtp.$sender_address_domain
>
> But if you have different host names depending upon the domain then
>
> helo_data = ${lookup{${lc:$sender_address_domain}}lsearch \
> {/etc/mail/domains/helo}{$value}{$primary_hostname}}
>
> File Format Of /etc/mail/domains/helo
> domain1:helohost.domain1
> domain2:helohost.domain2
>
> I haven't tested but I think I have all the bloody brackets covered


that looks v cool and i think ill add something similar to mine (im
also a relative newbie)

but the rdns will surely still turn up the numeric ip and that will in
turn turn up a potentially different domain name such as my generic
dsl-217-155-x-x.zen.co.uk

Zaw