Re: stop accepting mail and clear mailq

2008-11-20 Thread J.P. Trosclair
J.P. Trosclair wrote: J.P. Trosclair wrote: Is there a way to put postfix in state so that it stops accepting mail so that I can clear the queue of all undelivered mail? Rundown of what and why: We are a small company, we have two mail servers (mail1, mail2). Mail1 is our primary server, mai

Re: stop accepting mail and clear mailq

2008-11-20 Thread J.P. Trosclair
J.P. Trosclair wrote: Is there a way to put postfix in state so that it stops accepting mail so that I can clear the queue of all undelivered mail? Rundown of what and why: We are a small company, we have two mail servers (mail1, mail2). Mail1 is our primary server, mail2 pretty much just sit

Fwd: stop accepting mail and clear mailq

2008-11-20 Thread J . P . Trosclair
Begin forwarded message: From: "J.P. Trosclair" <[EMAIL PROTECTED]> Date: November 20, 2008 6:23:06 AM CST To: Jorey Bump <[EMAIL PROTECTED]> Subject: Re: stop accepting mail and clear mailq On Nov 19, 2008, at 10:48 PM, Jorey Bump wrote: J.P. Trosclair wrote, at 11/

Re: stop accepting mail and clear mailq

2008-11-19 Thread Jorey Bump
J.P. Trosclair wrote, at 11/19/2008 08:14 PM: > > On Nov 19, 2008, at 6:06 PM, Wietse Venema wrote: > >> To stop receiving mail from the network, comment out the network >> facing smtpd entry in master.cf, do "postfix reload", and look >> for warnings in the maillog file. >> >> You can get a lot

Re: stop accepting mail and clear mailq

2008-11-19 Thread DULMANDAKH Sukhbaatar
> To stop receiving mail from the network, comment out the network > facing smtpd entry in master.cf, do "postfix reload", and look > for warnings in the maillog file. Or you can use firewall to block SMTP connections I think. I'm not sure about side-effect, but I've used it before. -- Regards

Re: stop accepting mail and clear mailq

2008-11-19 Thread J.P. Trosclair
On Nov 19, 2008, at 6:06 PM, Wietse Venema wrote: To stop receiving mail from the network, comment out the network facing smtpd entry in master.cf, do "postfix reload", and look for warnings in the maillog file. You can get a lot fancier and set up an access rule that replies with "421 Service

Re: stop accepting mail and clear mailq

2008-11-19 Thread Wietse Venema
To stop receiving mail from the network, comment out the network facing smtpd entry in master.cf, do "postfix reload", and look for warnings in the maillog file. You can get a lot fancier and set up an access rule that replies with "421 Service unavailable for migration". Wietse

stop accepting mail and clear mailq

2008-11-19 Thread J.P. Trosclair
Is there a way to put postfix in state so that it stops accepting mail so that I can clear the queue of all undelivered mail? Rundown of what and why: We are a small company, we have two mail servers (mail1, mail2). Mail1 is our primary server, mail2 pretty much just sits there to be used for