Wietse: >The Postfix cleanup daemon applies canonical mapping before it >writes a message to a queue file.
Ok, I misunderstood this note in the postfix docu: "Note: $sender_canonical_maps is processed before $canonical_maps. " Ok, but can I achieve it by setting in main.cf: ------------------------------------------------------------------------- canonical_maps = hash:/etc/postfix/sender_canonical ------------------------------------------------------------------------- The result didn't change, after a try out. Wietse: >And therefore your sender_dependent relay rules are ineffective. Where could it be effective? -- best regards, thomas > >fo...@gmx.de: >> For point 1) an 2) i have a file sender_canonical created: >> ------------------------------------------------------------------------- >> Local_User_A@local.homenet us...@gmx.de >> Local_User_B@local.homenet us...@gmail.com >> ------------------------------------------------------------------------- >> > >The Postfix cleanup daemon applies canonical mapping before it >writes a message to a queue file. > >The Postfix queue manager logging shows that those rules did not >match your sender address ttm@ttmsacer.homenet > >> Sep 7 18:28:29 ubuntu-RPI4 postfix/qmgr[24811]: 5CFF24028B: >> from=<ttm@ttmsacer.homenet>, size=256, nrcpt=1 (queue active) > >And therefore your sender_dependent relay rules are ineffective. > > Wietse