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