Dnia 24.02.2021 o godz. 12:40:43 Zsombor B pisze: > > Reason: thousands of junk emails per day are sent from DEV > environment to forged recipients but there is only a couple of > recipient domains are allowed. The others get 'relay access denied' > but the developers are complaining that their automated tests are > falsely failing because of the relay access denied response.
I don't understand why are they complaining. If their test scripts are sending mail to non-existent users then the EXPECTED and CORRECT test result for such test is that the sending will fail. If they test sending mail to non-existent users and expect this to succeed then something is severely wrong with their tests. You should NOT change the Postfix behaviour to falsely accept these messages because this will in fact give WRONG test results. In real world, the application trying to send mail to a non-existent user WILL get a rejection and must be prepared to handle this. -- Regards, Jaroslaw Rafa r...@rafa.eu.org -- "In a million years, when kids go to school, they're gonna know: once there was a Hushpuppy, and she lived with her daddy in the Bathtub."