[CentOS-docs] Short postgrey guide?
Ned Slider
nedslider at f2s.com
Sun Dec 23 22:14:56 UTC 2007
Karanbir Singh wrote:
> Ned Slider wrote:
>> Anyway, if you can point me in the right direction, I'm happy to try
>> and can amend the article if you think it's better that way (maybe you
>> could also explain why unix sockets are preferable to a network
>> socket - security maybe??)
>
> check_policy_service unix:postgrey/socket
> in the smtpd_recipient_restrictions = line is all you need, and postfix
> will check on /var/spool/postfix/postgrey/socket
>
> which is what postgrey will listen on.
>
Great - thanks. Got that working so I'll update the page :)
> Security is one reason, better load handling is another. There is a lot
> less resources required to setup and teardown a unix socket than a
> network socket.
>
Thanks for the explanation :)
More information about the CentOS-docs
mailing list