On 2026-01-16 16:42, Wietse Venema via Postfix-users wrote:

> Jan Eden via Postfix-users:
> > -- 0 Kbytes in 1 Request.
> > root@social:~# postcat -q BC1A080128
> > *** ENVELOPE RECORDS maildrop/BC1A080128 ***
> > message_arrival_time: Fri Jan 16 21:21:38 2026
> > named_attribute: rewrite_context=local
> > sender_fullname: root
> > sender: [email protected]
> > *** MESSAGE CONTENTS maildrop/BC1A080128 ***
> > Subject: test
> > To: "root" <[email protected]>
> > User-Agent: mail (GNU Mailutils 3.17)
> > Date: Fri, 16 Jan 2026 21:21:38 +0100
> > 
> > test
> > *** HEADER EXTRACTED maildrop/BC1A080128 ***
> > recipient: [email protected]
> > *** MESSAGE FILE END maildrop/BC1A080128 ***
> 
> Congratulations, this is now officially no longer a  Postfix problem.
> 
> The mail command producces this unexpected recipient address,
> and that is what Postfix will use.
> 
> Just in time for (my) happy hour.

Yes, and I found the problem. /etc/mail.rc contained the following:

alias root root<[email protected]>

I cannot remember adding this (the server has been in use for several
years, and I must have done it a while ago).

Thanks a lot for helping me pin this down, and sorry for the false alarm
regarding Postfix's behaviour.

- Jan
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to