Bug 100733 - mail-filter/postgrey cannot be used in unix socket mode
Bug#: 100733 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: net-mail@gentoo.org Reported By: asl@launay.org
Component: Server
URL: 
Summary: mail-filter/postgrey cannot be used in unix socket mode
Keywords:  
Status Whiteboard: 
Opened: 2005-07-29 10:33 0000
Description:   Opened: 2005-07-29 10:33 0000
From the actual ebuild, postgrey can only be used in inet mode; support for the
socket mode would be a good addition.

------- Comment #1 From Arnaud Launay 2005-07-30 03:15:13 0000 -------
Created an attachment (id=64720) [details]
Ebuild diff (doc only)

Diff between original ebuild and my local overlay, adding doc on socket use

------- Comment #2 From Arnaud Launay 2005-07-30 03:16:27 0000 -------
Created an attachment (id=64721) [details]
Unix socket support enhancement

init and conf files modifications to support unix socket

------- Comment #3 From Andrej Kacian (RETIRED) 2005-09-04 06:05:35 0000 -------
Thanks for the patch, I've added this to postgrey-1.21-r1.ebuild, freshly
committed to CVS. Give it a try and close this bug as fixed if it works as
expected. Comment here otherwise.

------- Comment #4 From Arnaud Launay 2005-09-12 05:31:56 0000 -------
Works just fine here. Marking as fixed.

------- Comment #5 From Arnaud Launay 2005-11-01 23:40:45 0000 -------
Created an attachment (id=71910) [details]
Better socket permissions setter

Patch for postgrey.rc.new; wait until socket is effectively created and then
set the perms. The previous sleep was not okay when the machine was heavily
loaded, like at boot with parallel launches. This one is less randomly choosen.

------- Comment #6 From Arnaud Launay 2005-11-01 23:41:15 0000 -------
Reopen for newer socket patch

------- Comment #7 From Andrej Kacian (RETIRED) 2005-11-03 14:38:42 0000 -------
Patch applied in 1.21-r2, thanks.