OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: helo_name is not what i set

From: Francesco Abeni (f.abenigibilogic.com)
Date: Tue Dec 16 2008 - 07:38:26 CST


Andreas Winkelmann ha scritto:

>> I have no problem with smtpd_banner, which i am able to set as i like
>> (of course, i will keep in mind your suggestion about SMTP protocol
>> requirementes).
>>
>> I have problem with smtp_helo_name: i set it in the configuration file
>> as "smtp.givi.it" but it still appears as "srv04.givi.it":
>>
>> > telnet smtp.givi.it 25
>> > 220 smtp.givi.it ESMTP GIVI srl
>
> This is the $smtpd_banner, and suprise it seems to work as expected.
>
>> > helo playmobile.gibilogic.com
>> > 250 srv04.givi.it
>
> This announcemnet is not the $smtpd_banner. After ehlo/helo you see
> $myhostname here. This is not configurable until you change myhostname.

Andreas, i know the difference between the SMTP banner and SMTP helo,
and i was not expecting to see "$smtpd_banner" as helo response.

I just was trying to use "smtp_helo_name", because i wrongly believed
that it was a string used while responding to an HELO command. As
Wolfgang pointed out, this is not the fact.

Thank you for your time.

--
Francesco