Score:0

How to configure Postfix to return enhanced response code

ng flag

I'd like to return by Postfix 550 5.1.1 for some specific domains. I followed the manual and created the access file, with a single row: baddomain.com 550 5.1.1

The 550 is returned, but instead of 5.1.1, 5.1.7 is returned. I don't understand, why. I would like to return 5.1.1, to emulate that the recipient address does not exist on the server.

Thank you!

anx avatar
fr flag
anx
Please also share your config as recommended in the tag and attach the logs generated on such delivery attempt. I suspect you have mixed up *sender* and *recipient* address checks somewhere.
anx avatar
fr flag
anx
If you are rejecting a delivery attempt based on its sender ("return path") format *before* hearing of any recipient address, then you won't be telling the sender about bad destination mailboxes.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.