On Wed, Mar 2, 2011 at 16:25, Narcis Garcia - GiLUG <[email protected]> wrote: > I send mail from an Exim4 installation, and it's rejected from some MTA > servers with: > "Helo command rejected: Host not found" > because Exim announces with the short hostname instead of the specified in > /etc/mailname (FQDN) > > If I run: > dpkg-reconfigure exim4-config > I can change the "System mail name", and it's updated on /etc/mailname , but > it's not used by Exim on HELO announcements. > > How can I make Exim to use mailname instead of hostname?
In the remote_smtp transport, add a helo_data setting: remote_smtp: driver = smtp helo_data = fully.qualified.domainname.example It is also possible to perform magic tricks and lookups, but it's probably quicker this way. (see http://www.exim.org/exim-html-current/doc/html/spec_html/ch30.html) -- Jan -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
