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 changes and then tried the Ralf's way.
that is, i disabled the smtp line (by comment) master.cf and then postfix reload. which completely disables the smtp. once again thanks for the help - -- --- Always try to find truth!!! --- On Tue, 6/9/09, Truth Seeker <truth_seeker_3...@yahoo.com> wrote: > From: Truth Seeker <truth_seeker_3...@yahoo.com> > Subject: RE: Stop accepting mails from clients but process the mails which is > already in the queue??? > To: "postfix-users@postfix.org" <postfix-users@postfix.org>, "Gary Smith" > <g...@primeexalia.com> > Date: Tuesday, June 9, 2009, 6:47 PM > > > 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??? > > To: "truth_seeker_3...@yahoo.com" > <truth_seeker_3...@yahoo.com>, > "postfix-users@postfix.org" > <postfix-users@postfix.org> > > Date: Tuesday, June 9, 2009, 6:42 PM > > 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: owner-postfix-us...@postfix.org > > [owner-postfix-us...@postfix.org] > > On Behalf Of truth_seeker_3...@yahoo.com > > [truth_seeker_3...@yahoo.com] > > Sent: Tuesday, June 09, 2009 8:39 AM > > To: postfix-users@postfix.org > > Subject: Re: Stop accepting mails from clients but > process > > the mails which is already in the queue??? > > > > 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 Hildebrandt <ralf.hildebra...@charite.de> > > > Subject: Re: Stop accepting mails from clients > but > > process the mails which is already in the queue??? > > > To: postfix-users@postfix.org > > > Date: Tuesday, June 9, 2009, 6:28 PM > > > * 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 Hildebrandt > > > Postfix - Einrichtung, Betrieb und Wartung > > > Tel. +49 (0)30-450 570-155 > > > http://www.computerbeschimpfung.de > > > This is the first age that's paid much attention > to > > the > > > future, which is > > > a little ironic since we may not have one. > > > -- Arthur Clarke > > > > > > > >