Re: [exim] smtp_active_hostname Use

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: edwarner99
CC: exim-users
Assumpte: Re: [exim] smtp_active_hostname Use
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}}