> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: 04 October 2005 14:57
> To: [email protected]
> Subject: Re: [exim] smtp_active_hostname Use
>
> Ok I think I understand, thanks.
>
> Just to clarify; if my server host is vps.mydomian.com and I
> want mail to be sent from mail.mydomain.com and
> mail.myotherdomain.com, how would I use the example I gave?
> I'm really a newbie at this.
>
> Each domain has their own name server and IP if that helps.
> Thank you.
>
> Ed Warner
>
In the general section of exim.conf, before the ACLs start, put this:
smtp_active_hostname = ${if
eq{$interface_address}{first.domain's.ip.address}\
{first.domain.com}{second.domain.com}}
Then find the smtp transport near the bottom of exim.conf and change it so
it looks like this:
remote_smtp:
driver = smtp
helo_data = $smtp_active_hostname
interface = ${if eq{$sender_address_domain}{first.domain.com}\
{first.domain's.ip.address}{second.domain's.ip.address}}
- Mark
--
## 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/