Hi I'm implementing a policy daemon and I realized the sender attribute value of the Postfix policy delegation protocol does not preserve the quotes of the original envelope address. If Postfix accepts a mail address I think it should pass this address to the policy daemon without modifying it.
Background: To make sure I accept only mail addresses which can be handled later on by my tools I would like to do my own check if the address is valid. Example (Postfix 3.2.4): Sender address "AAA a...@aaa.aaa"@AAA.AAA is passed by postfix to the policy daemon as: sender=AAA a...@aaa.aaa@AAA.AAA which is invalid without the quotes. I would expect to get sender="AAA a...@aaa.aaa"@AAA.AAA How can I get the original envelope address including the quotes around the local part in the policy daemon? Regards, Daniel