>>>> Good morming everybody. Surely it is my fault, but i am not able to >>>> set helo name as i want. >>>> >>>> Here are relevant lines from postconf -n: >>>> >>>> myhostname = srv04.givi.it >>>> smtp_helo_name = smtp.givi.it >>>> smtpd_banner = $smtp_helo_name ESMTP GIVI srl >>>> >>>> I want helo name to be "smtp.givi.it", but it always appears as >>>> "srv04.givi.it". What am i doing wrong? >>> >>> I am very sorry, some more information: >>> >>> is postfix 2.4.5 on Fedora Core 7 >> >> From the documentation : >> >> smtpd_banner (default: $myhostname ESMTP $mail_name) >> (...) > > Thank you, but you misunderstood my question. > > 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. > I guess that if there is an $smtp_helo_name parameter, it could be set > different from $myhostname. Am i wrong? -- Andreas