Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100733 - mail-filter/postgrey cannot be used in unix socket mode
Summary: mail-filter/postgrey cannot be used in unix socket mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 10:33 UTC by Arnaud Launay
Modified: 2005-11-03 14:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild diff (doc only) (diff-ebuild,581 bytes, patch)
2005-07-30 03:15 UTC, Arnaud Launay
Details | Diff
Unix socket support enhancement (diff-files,2.80 KB, patch)
2005-07-30 03:16 UTC, Arnaud Launay
Details | Diff
Better socket permissions setter (diff-pg-init,560 bytes, patch)
2005-11-01 23:40 UTC, Arnaud Launay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.