From: Dhiraj Chatpar on
Dear Mr. Wietse,

Can we achieve this by temporarily blocking port 25?

Rgds
Dhiraj


Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
- "May you live every day of your life."

On Tue, Nov 24, 2009 at 01:09, Wietse Venema <wietse(a)porcupine.org> wrote:

> 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
>
From: Wietse Venema on
Wietse Venema:
> 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

That should be "qmgr.fifo", but you get the idea.

Wietse

> 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
>
>