Re: [exim] HELO greeting

Etusivu
Poista viesti
Vastaa
Lähettäjä: Rejo Zenger
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] HELO greeting
++ 16/03/09 08:24 -0700 - Marc Perkel:
>Quick question. What variable holds the HELO greeting send when someone
>connects? rying to find what to set so that the HELO matches the RDNS of
>the interface address.


I guess you are looking for the "primary_hostname" variable. From the
manual...

This specifies the name of the current host. It is used in the default
EHLO or HELO command for outgoing SMTP messages (changeable via the
helo_data option in the smtp transport), and as the default for
qualify_domain. The value is also used by default in some SMTP
response messages from an Exim server. This can be changed dynamically
by setting smtp_active_hostname.

If primary_hostname is not set, Exim calls uname() to find the host
name. If this fails, Exim panics and dies. If the name returned by
uname() contains only one component, Exim passes it to gethostbyname()
(or getipnodebyname() when available) in order to obtain the fully
qualified version. The variable $primary_hostname contains the host
name, whether set explicitly by this option, or defaulted.

Does that help?

--
Rejo Zenger . <rejo@???> . 0x75FC50F3 . <https://rejo.zenger.nl>
GPG encrypted e-mail prefered.