On 16/01/2026 16:34, Jan Eden via Postfix-users wrote:
On 2026-01-16 10:05, Wietse Venema via Postfix-users wrote:
Jan Eden via Postfix-users:
# social
2026-01-16T09:01:45.304481+01:00 social postfix/pickup[1033769]: 4A28540108: uid=0
from=<[email protected]>
2026-01-16T09:01:45.314262+01:00 social postfix/cleanup[1033779]: 4A28540108:
message-id=<[email protected]>
2026-01-16T09:01:45.316038+01:00 social postfix/qmgr[1033771]: 4A28540108:
from=<[email protected]>, size=325, nrcpt=1 (queue active)
2026-01-16T09:01:45.325662+01:00 social postfix/cleanup[1033779]: 4F45940059:
message-id=<[email protected]>
2026-01-16T09:01:45.329087+01:00 social postfix/local[1033781]: 4A28540108:
to=<[email protected]>, orig_to=<root>, relay=local, delay=0.04,
delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (forwarded as 4F45940059)
2026-01-16T09:01:45.329315+01:00 social postfix/qmgr[1033771]: 4F45940059:
from=<[email protected]>, size=456, nrcpt=1 (queue active)
2026-01-16T09:01:45.329400+01:00 social postfix/qmgr[1033771]: 4A28540108:
removed
Above, the destination 'root' becomes 'root@something', that
'something' MATCHES MYDESTINATION, the scheduler talks to a Postfix
local delivery agent, and the local delivery agent forwards the
message elsewhere.
# socialnew
2026-01-16T09:50:48.132515+01:00 socialnew postfix/pickup[1902]: 204178035A: uid=0
from=<[email protected]>
2026-01-16T09:50:48.137059+01:00 socialnew postfix/cleanup[1912]: 204178035A:
message-id=<[email protected]>
2026-01-16T09:50:48.137838+01:00 socialnew postfix/qmgr[1903]: 204178035A:
from=<[email protected]>, size=335, nrcpt=1 (queue active)
2026-01-16T09:50:48.801409+01:00 socialnew postfix/smtp[1914]: 204178035A:
to=<[email protected]>, relay=mail.eden.one[2a01:4f8:1c1f:876d:8000::10]:587,
delay=0.67, delays=0.01/0.02/0.28/0.37, dsn=2.0.0, status=sent (250 2.0.0 3b1bfbad
Message accepted for delivery)
2026-01-16T09:50:48.801507+01:00 socialnew postfix/qmgr[1903]: 204178035A:
removed
Above, the destination 'root' becomes 'root@something, that 'something'
DOES NOT MATCH MYDESTINATION, the scheduler talks to a Postfix
client, and that SMTP client delivers the message elsewhere.
You need to compare outputs from:
postcnf myorigin
postconf mydestination
from both systems.
I did, and I still cannot see the reason for the different behaviour
with respect to the destination:
root@social:~# postconf myorigin
myorigin = /etc/mailname
root@social:~# cat /etc/mailname
social.eden.one
root@social:~# postconf mydestination
mydestination = $myhostname, localhost.localdomain, localhost
root@social:~# postconf myhostname
myhostname = social.eden.one
root@socialnew:~# postconf myorigin
myorigin = /etc/mailname
root@socialnew:~# cat /etc/mailname
socialnew.eden.one
root@socialnew:~# postconf mydestination
mydestination = $myhostname, localhost.localdomain, localhost
root@socialnew:~# postconf myhostname
myhostname = socialnew.eden.one
[email protected] should be matched by mydestination on
socialnew – but it is not. I tried using 'socialnew.eden.one' in the
mydestination list directly, without success.
Ff messages apparently to [email protected] are not matching
mydestination that contains myhostname with a value of
socialnew.eden.one, then maybe the conclusion is that the messages are
not actually to [email protected].
That would seem to tie up with the fact that if you explicitly send to
[email protected] you get the expected behaviour, whereas if you
send only to root you don't.
Out of curiosity when you get the message sent to root, what "To:"
address do you see in the message?
Are the "mail" commands the same on both systems and configured the same?
I would be interested to know where the mapping is taking place on
socialnew from destination "root" to "[email protected]", since the
address is being treated as non local, my understanding is it is not
taking that from local aliases.
John
The only difference with respect to the hostnames is that
social.eden.one has A/AAAA DNS records, while socialnew.eden.one has
not.
- Jan
_______________________________________________
Postfix-users mailing list [email protected]
To unsubscribe send an email [email protected]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]