Re: [exim4] Testing and making sense of smtp output
On Mon 13 Oct 2014 at 04:12:04 +0200, lee wrote:
> Jonathan Dowland <jmtd@debian.org> writes:
>
> > On Sun, Oct 12, 2014 at 02:45:44PM -0400, Harry Putnam wrote:
> >> > And if so, is that not acquired from /etc/hosts?
> > snip
> >> Egad ... I just noticed that was from a different machine... but the
> >> format is the same on all of mine. So still should stand as something
> >> to critique/
> >
> > Debian's exim4 will take the contents of /etc/mailname over the dns name by
> > default. I'd recommend putting the fqdn that you want exim to use there.
>
> You can also specify it in exims' configuration. Unless you do have
> good reason to do so, I'd advise against it and let exim use the host
> name (which the automatic configuration which I don't exactly recommend
> hopefully lets exim use unless you tell it otherwise).
The HELO cannot be specified using dpkg-reconfigure. It is taken from
/etc/hosts.
/etc/mailname can be specified with dpkg-reconfigure. It is not the best
of ideas to leave it blank.
There is no connection between /etc/mailname and the HELO.
Reply to: