Hi,

a question about processing header lines:


I want postfix to add a header line with a hint to the mail, depending on where the mail comes from (sender, client), and therefore to have something like

   check_sender_access        ...

and in its table entries like

   [email protected]    Prepend X-Sort: foldername

to be detected and processed later after lmtp delivery by dovecot/sieve. This works.



For obvious reasons, I do not want external senders to spoof that header line, therefore I do have header_checks with

   /^X-Sort/i                    STRIP

This works as well.


But: Both together don't work, because header_checks run after sender_checks and do remove the header I just added.


Is there a way to add header lines depending on sender/client after header_checks?


regards

Hadmut






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

Reply via email to