On Tue, 13 Feb 2024 at 23:11, Peter Humphrey <pe...@prh.myzen.co.uk> wrote: > On Tuesday, 13 February 2024 17:20:40 GMT Arve Barsnes wrote: > I think those entries must be for sendmail.
Yes, that machine has sendmail from mail-mta/opensmtpd, not postfix, not sure it matters. > > In /etc/postfix/main.cf there is this, and I assume at least some of > > this makes this all work: > > myhostname = <hostname>.lan > > inet_interfaces = $myhostname, localhost > > mydestination = $myhostname, localhost.$mydomain, localhost, <hostname> > > Isn't <hostname> the same as $myhostname? No, $myhostname is <hostname>.lan Like you I've had some trouble in the past, so a lot of this is from trying and failing, but it works as I want it now, so I'm happy-ish. Regards, Arve