I'm using fetchmail to get mail out of a pop box (off server) and deliver it locally using Postfix. The Postfix server has occasionally tried to bounce/send status deferred messages back out to the original sending address. That address does not accept mail so it all just sort of sits on the system. I'm trying to find a way to stop all outbound email attempts in Postfix. No bounces, no deferred messages, nothing. I don't want to just block port 25 though, I would of course rather do it on the server config. It's not really a normal set up in Postfix apparently so I've had troubles finding an answer. So does anyone know a quick one line edit or anything I can do to stop all outbound email? I don't care if it just deletes the bounces/deferred messages it would be sending. I just don't want it attempting to send out.
[link][3 comments]