* Matthew Kitchin via Postfix-users <[email protected]> [250522 13:04]:
> On Thu, May 22, 2025 at 11:58 AM Marvin Renich via Postfix-users
> <[email protected]> wrote:
> 
> >
> > What is «postconf sender_canonical_maps»?  Is it
> >
> > sender_canonical_maps = [email protected]
> >
> > If so, you need to read «man 5 canonical».  sender_canonical_maps should
> > be a mapping table with each row containing a pattern and an address.
> > Frequently the value of sender_canonical_maps is something like
> > «hash:/etc/postfix/canonical» with that file containing the mappings.
> >
> 
> Sorry. Typo when I was cleaning it up. It should have said
> sender_canonical_maps = static:[email protected]

If I am not mistaken, the static: returns [email protected] for _all_
queries, as opposed to returning "" for queries matching
[email protected].  This would explain the behavior you are seeing.

Try using

sender_canonical_maps = hash:/etc/postfix/canonical

and have that file contain:

[email protected] [email protected]

(Don't forget to postmap /etc/postfix/canonical.)

...Marvin

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

Reply via email to