On Monday, May 25, 2020 10:26:56 PM EDT Ian Evans wrote:
> On Mon, May 25, 2020 at 3:35 PM Ian Evans <dheianev...@gmail.com> wrote:
> > On Mon, May 25, 2020 at 4:09 AM Matus UHLAR - fantomas <uh...@fantomas.sk>
> > 
> > wrote:
> >> On 24.05.20 21:04, Ian Evans wrote:
> >> >Based on another thread here, I want to move to using
> >> 
> >> postscreen/postwhite
> >> 
> >> >and ditch postgrey.
> >> >
> >> >Just want to make sure I don't bungle stopping postgrey.
> >> >
> >> >So...
> >> >
> >> >- edit main.cf and remove "check_policy_service inet:127.0.0.1:10023"
> >> 
> >> from
> >> 
> >> >smtpd_recipient_restrictions.
> >> >- restart Postfix
> >> >- purge the postgrey package.
> >> >
> >> >Then go about getting postscreen working.
> >> 
> >> I'd set up postscreen before postgrey, that requires editing master.cf
> >> too.
> >> however, it's quite easy if you follow the docs.
> > 
> > Thanks everyone for the tips. I'll get working on it.
> 
> Just being purposefully thick here so I don't mess anything up. :-)
> 
> In the Postfix docs it says, for example, to uncomment out this line in
> master.cf:
> 
> smtpd   pass    -   -  n  -  -  smtpd
> 
> The commented line in my master.cf says:
> 
> #smtpd  pass  -  -  -  -  -  smtpd
> 
> So I'm assuming I not only uncomment the line but also change the third
> hyphen to an 'n'? And so on with the other lines that might be different
> between the docs and the current master.cf?

Assuming postfix version > 3, it doesn't matter.  The third hyphen is for the 
chroot value.  In postfix << 3 the default was y, so an explicit n was needed.  
In postfix >= 3 the default is n, so leaving the '-' is the same as 'n'.

Scott K


Reply via email to