I do use a postfix relay that does some custom mail filtering.
Sometimes this is need for maintenance to disable this relay.
- I need the relay to stop listen to port 25 so that other MX records still process mails to user inboxes
- However at the same time I want active mail queues to be processed (not to make users wait for the maintenance end to receive their mails)
How could that be done ?