Dear Pros,
how can i stop accepting mails on postfix server from all my clients but at the
same time, i want to postfix to complete the tasks in the queue.
For eg; if i want to do some maintenance work on the system, i want to first
stop accepting mails in my mails server from the clients.
* Truth Seeker truth_seeker_3...@yahoo.com:
Dear Pros,
how can i stop accepting mails on postfix server from all my clients
but at the same time, i want to postfix to complete the tasks in the
queue.
With 2.6.x
postconf -e master_service_disable=inet
postfix reload
--
Ralf
shooting from the hip I would say stop listening on the network connection and
only listen to localhost
In the /etc/postfix/master.cf file change the line smtp... to 127.0.0.1:smtp
... thus forcing it to listen to localhost only.
From:
Thanks for the reply...
but mine is postfix-2.3.3-2 . so i want to do like what Gary smith was advicing
???
Gary, will it effect my system in any way?
please suggest...
--
---
Always try to find truth!!!
--- On Tue, 6/9/09, Ralf Hildebrandt ralf.hildebra...@charite.de wrote:
From: Ralf
* truth_seeker_3...@yahoo.com truth_seeker_3...@yahoo.com:
Thanks for the reply...
but mine is postfix-2.3.3-2.
2.3 ist almost 3 years old.
so i want to do like what Gary smith was advicing ???
Disable the master.cf entry for smtpd
Gary, will it effect my system in any way?
please
Well, it sill stop postfix from listening to anything other then the localhost
for submissions therefore preventing external (to the machine) submissions.
When you are done, just remove 127.0.0.1: from in front of the smtp statement.
Gary
From:
Thank you Gary Ralf for your valuable advices...
-
--
---
Always try to find truth!!!
--- On Tue, 6/9/09, Gary Smith g...@primeexalia.com wrote:
From: Gary Smith g...@primeexalia.com
Subject: RE: Stop accepting mails from clients but process the mails which is
already in the queue???
First i tried to do this by looking in to main.cf. but i didnt find any line
regarding listening on my ip. rather i found the declaration about mynetworks
which i changed to 127.0.0.0/8. then i tried to connect to port 25 by telnet
from other machine, it was connecting. so i reverted the