On Wed, Feb 24, 2021 at 12:40:43PM +0100, Zsombor B wrote: > Hi, > > > Is there a way to reply with 'OK' to the sender instead of 'relay access > denied'? > > 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 got a promise that the tests will be fixed > but that will take months and automated test reports will be red until > then.)
Why not setup a Postfix instance for dev which simply discards all received email? Devdas Bhagat