On 2026-01-16 09:16, Greg Klanderman via Postfix-users wrote:

> > > On January 16, 2026 Jan Eden via Postfix-users 
> > > <[email protected]> wrote:

> > If I specify the FQDN with the test message
> > 
> > echo "Test" | mail -s "Test" [email protected]
> > 
> > I get the intended result on socialnew, but I fail to understand why social 
> > expands
> > "root" properly, and socialnew does not.

> Is 'mail' the same on both hosts?  On Debian at least, 'mail' can be
> provided by both the 'mailutils' and 'bsd-mailx' packages (maybe
> others).  These two, at least, behave a bit differently when the
> recipient address has no domain.

Yes, 'mail' was installed as part of 'mailutils' on both hosts (Ubuntu),
the symlink points to /usr/bin/mail.mailutils. On the "misbehaving"
host, there is an additional package 'libmailtools-perl', but I guess it
is not relevant:

root@social:~# apt list --installed | grep mail
libmailutils9t64/noble,now 1:3.17-1.1build3 amd64 [installed,automatic]
mailutils-common/noble,now 1:3.17-1.1build3 all [installed,automatic]
mailutils/noble,now 1:3.17-1.1build3 amd64 [installed]

root@socialnew:~# apt list --installed | grep mail
libmailtools-perl/noble,now 2.21-2 all [installed,automatic]
libmailutils9t64/noble,now 1:3.17-1.1build3 amd64 [installed,automatic]
mailcap/noble,now 3.70+nmu1ubuntu1 all [installed,automatic]
mailutils-common/noble,now 1:3.17-1.1build3 all [installed,automatic]
mailutils/noble,now 1:3.17-1.1build3 amd64 [installed]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to