Re: [exim] smtp_active_hostname Use

Top Page
Delete this message
Reply to this message
Author: edwarner99
Date:  
To: exim-users
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

--- Tony Finch <dot@???> wrote:

> On Sat, 1 Oct 2005 edwarner99@??? wrote:
> >
> > 1. Do I place the info in /etc/exim.conf?
>
> Yes, in the initial section of the file where the
> general configuration
> settings go.
>
> > 2. What is the proper syntax per this example? (I
> am
> > not a coder.)
> >
> > smtp_active_hostname = ${if
> eq{$interface_address}{10.0.0.1} \
> >     {cox.mydomain}{box.mydomain} }

>
> Correct.
>
> However it isn't really necessary to use this option
> - it's perfectly
> normal for an email server's host name to be
> unrelated to the mail
> ddomains that it hosts. For example, the MX target
> for dotat.at is
> mx.cam.ac.uk, and the various machines behind the
> name identify themselves
> as ppsw-N.csi.cam.ac.uk for various N. The machines
> host a couple of
> hundred similar virtual domains.
>
> Tony.
> --
> <fanf@???> <dot@???> http://dotat.at/
> ${sg{\N${sg{\
>

N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
>

\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}
>




        
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com