Re: [exim] host name in SMTP greeting

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Akhthar Parvez. K
CC: exim-users
Temat: Re: [exim] host name in SMTP greeting
On Wed, 13 Apr 2005, Akhthar Parvez. K wrote:
>
> I would like to know if we can setup the hostname in SMTP greetings in such a
> manner that when we send an email to a domain, the hostname in SMTP greetings
> should be the domain name rather than the hostname of the server.


You need one IP address per domain on your email server, then you can
configure the smtp_banner using $interface_address, e.g. using a table to
map it to the appropriate domain name. See my paper for an example.

http://www.cus.cam.ac.uk/~fanf2/hermes/doc/talks/2005-02-eximconf/

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