[Exim] How to set a specific custom smtp_banner?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Danny Bendersky
Data:  
Para: Exim-users
Assunto: [Exim] How to set a specific custom smtp_banner?
Hi, I want to set the smtp_banner to give me ONLY the small part of the
server name.

Something like "hostname -a" in a Linux Box instead just "hostname".

I only found in the smtp_banner the option $primary_hostname

Looking in Google and inside the Exim 4 Book, didn't find good
information.

What I need is something like $primary_short_hostname (like mail1
instead mail1.mydomain.com)

Any suggestion?

I dont want to just put a text, because I have more than one server,
and want that each server respond something like:

Server1: 220 ESMTP Thu Apr 29 19:25:32 2004 (mail1)
Server2: 220 ESMTP Thu Apr 29 19:25:32 2004 (mail2)

Currently I get only : 220 ESMTP Thu Apr 29 19:25:32 2004

BTW, at the QUIT I get the name of the primarydomain, is there a way to
hide that from the QUIT command?

That means instead to get an:

221 mail.mydomain.com closing connection

Just get a:

221 closing connection

Thanks for any Help/Tip/hint

--
Saludos....

Daniel Bendersky.

------------------------------------------------------------------
Daniel Bendersky              Director de Operaciones y Tecnología
dbenders@???                          http://www.netline.cl
NETLINE                                Av. Vitacura # 2939 of. 202
Oficina   : +56 2 751 2600            Las Condes, Santiago - CHILE
Celular   : +56 9 998 9122               Fax2mail : +56 2 751 2651
Voice2mail: +56 2 751 2618
            "Success is a journey, not a destination"
------------------------------------------------------------------