-------- Original Message  --------
Subject: safe way to retire postfix gateway
From: Robert Lopez <[email protected]>
To: Postfix users <[email protected]>
Date: Tuesday, August 18, 2009 3:52:11 PM
Having built new email gateways, it is time to retire the old ones.

I have removed one email gateway running postfix from the MX records
for our college.
It still has a few hundred mail in the queues and some spam is still coming in.

What is the best way to stop the incoming email and allow the queues to empty?


If the MX records have been changed, and you have waited past the DNS TTL on the records, anything coming to your server is likely to be spam. Assuming this is an MX server only, simply shut down postfix and don't worry about the contents of the queue.

If you don't like the 'throw caution to the wind' method, and really want to deliver remaining spam messages in the queue, you can comment out the SMTPd line(s) in master.cf (or apply a firewall rule stopping incoming connections to port 25) and let postfix drain the queues gradually.

--Blake

Reply via email to