[CentOS-docs] Short postgrey guide?

Sun Dec 23 20:14:35 UTC 2007
Karanbir Singh <mail-lists at karan.org>

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.

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.

> Alternatively, you are more than welcome to jump in and amend the 
> article as you see fit in true Wiki style :)

I could, yes - but just wanted to make sure there wasent anything else 
in the mix  ( like the postgrey chap suddenly recommending everyone just 
use a unix socket )

Karanbir Singh : http://www.karan.org/  : 2522219 at icq