Kevin Bailey:
> Hi,
>
> I need to test the move of a mailing list to another server.
>
> What I'd like to do is to stop the Postfix server on the new server from
> sending out any mails but still put them into the queue.
>
> I could then test the mail list (which actually only has 43 members) and
> then see what emails appear in the queue. The I want to be able to
> delete all those mails - and then re-enable the Postfix server.
>
> Any pointers gratefully received.
Postfix 2.6 and later:
# postconf -e master_service_disable=qmgr
# postfix reload
Older Postfix:
Comment out the queue manager in master.cf and do "postfix reload".
You didn't say that you want to continue other mail deliveries.
Wietse