Wietse Venema via Postfix-users:
> Jan Eden via Postfix-users:
> > On 2025-12-03 13:21, Wietse Venema via Postfix-users wrote:
> >
> > > Jan Eden via Postfix-users:
> > > > Dec 3 13:35:13 mailjail postfix/smtp[91375]: B05367587223:
> > > > to=<[email protected]>,
> > > > relay=mail.example.com[2a01:239:295:c900::1]:587, delay=0.22,
> > > > delays=0/0.02/0.17/0.03, dsn=5.7.1, status=bounced (host
> > > > mail.example.com[2a01:239:295:c900::1] said: 553 5.7.1
> > > > <[email protected]>: Sender address rejected: not owned
> > > > by user [email protected] (in reply to RCPT TO command))
> > >
> > > Apparently,
> > >
> > > - Some aliases file has an owner-root alias. This overridee the
> > > original envelope sender address with owner-root or
> > > [email protected].
> >
> > There is definitely no alias like this in /etc/aliases (or my
> > aliases_pattern file). I assumed the owner-root address was created by
> > some internal bounce mechanism.
>
> No. It's probably an unintended match with your PCRE based alias.
>
> If mail is sent to an alias 'foo', and there is a match for alias
> lookup 'owner-foo' then Postfix replaces the envelope sender addrerss
> with owner-foo.
>
> You may be able to turn that off with.
>
> owner_request_special (default: yes)
> Enable special treatment for owner-listname entries in the aliases(5)
> file, and don't split owner-listname and listname-request address
> localparts when the recipient_delimiter is set to "-". This feature is
> useful for mailing lists.
>
> But, I have to catch a train.
Confirmed. With "owner_request_special = no", Postfix will not
attempt to override the envelope sender address with owner-whatever.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]