|
From: Elliott C. <El...@nt...> - 2004-04-16 01:24:30
|
Hi Noel, A follow-on question would be: Is there any way to configure less incoming mail and more outgoing mail? Thank you for your great insight. Elliott -----Original Message----- From: Noel Jones [mailto:nj...@me...]=20 Posted At: Wednesday, March 24, 2004 1:47 PM Posted To: AM Subject: Re: [AMaViS-user] Stop incoming mail but continue to process existing que At 08:19 PM 3/18/04, Elliott Chuang wrote: >Is there a way to temporary stop incoming mail but still process the >existing mail que? I have a lot of incoming mail but I have a very slow >downstream mail server. I want to stop the incoming mail temporary so >that the downstream mail server can catch up. > >I am running Amavisd-New with Postfix. > >Thank you. In postfix/master.cf, comment out the "smtpd" line. If you wish to stop local mail submission via the "sendmail" command,=20 comment out the "pickup" service also. Then run "postfix reload" to commit the changes. Postfix will no longer accept new mail, but will continue filtering=20 existing mail through amavisd-new and will continue to deliver mail=20 normally. Clients that try to connect will get a "connection refused" and=20 should try again later. To disable network submission the line to comment out should look something=20 like: (note the "smtpd" with a "d" at the end) smtp inet n - n - - smtpd put a "#" at the beginning, so it looks like: #smtp inet n - n - - smtpd To disable local submission via the "sendmail" command, comment out: pickup fifo n - n 60 1 pickup Save the file and "postfix reload". After the queue clears, reverse the changes, and "postfix reload" again. --=20 Noel Jones=20 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ AMaViS-user mailing list AMa...@li... https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |