Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100733

Summary: mail-filter/postgrey cannot be used in unix socket mode
Product: Gentoo Linux Reporter: Arnaud Launay <asl>
Component: [OLD] ServerAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: radek, steeeeeveee
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild diff (doc only)
Unix socket support enhancement
Better socket permissions setter

Description Arnaud Launay 2005-07-29 10:33:06 UTC
From the actual ebuild, postgrey can only be used in inet mode; support for the
socket mode would be a good addition.
Comment 1 Arnaud Launay 2005-07-30 03:15:13 UTC
Created attachment 64720 [details, diff]
Ebuild diff (doc only)

Diff between original ebuild and my local overlay, adding doc on socket use
Comment 2 Arnaud Launay 2005-07-30 03:16:27 UTC
Created attachment 64721 [details, diff]
Unix socket support enhancement

init and conf files modifications to support unix socket
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-09-04 06:05:35 UTC
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 Arnaud Launay 2005-09-12 05:31:56 UTC
Works just fine here. Marking as fixed.
Comment 5 Arnaud Launay 2005-11-01 23:40:45 UTC
Created attachment 71910 [details, diff]
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 Arnaud Launay 2005-11-01 23:41:15 UTC
Reopen for newer socket patch
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2005-11-03 14:38:42 UTC
Patch applied in 1.21-r2, thanks.