Re: [exim] host name in SMTP greeting

Pàgina inicial
Delete this message
Reply to this message
Autor: Akhthar Parvez. K
Data:  
A: exim-users
CC: Tony Finch
Assumpte: Re: [exim] host name in SMTP greeting
Hi,

First of all, thanks to Tony for providing me some hints.

Now, I would like to grep for the domain name by using the interface_address
from a file(text file) and print it in place of primary_hostname. I have
created a file which contains the IPs in the server and print the domain name
which is assigned to the particular IP in the file. eg:-

The file contains the following entry

1.1.1.1: test.com
2.2.2.2: testing.com

If the interface_address is 1.1.1.1, I want the primary_hostname to be
test.com and so on. Is it possible?

Please give me a detailed instruction if it is possible to setup this.

On Wednesday 13 April 2005 13:14, Tony Finch wrote:
> 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}}


--
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
---------------------
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE