|Summary:||port: mail/spamass-milter needs more sleep at start-up|
|Product:||Ports & Packages||Reporter:||Jeffrey Goldberg <jeffrey>|
|Component:||Individual Port(s)||Assignee:||Thomas Abthorpe <tabthorpe>|
|Severity:||Affects Only Me||CC:||tabthorpe|
Description Jeffrey Goldberg 2009-04-04 21:30:01 UTC
When starting up spamass-milter on my system, the socket file did not exist by the time that the start-up script tried to change the the ownership of the file. Thus the group was not being set to "mail" for the socket file and postfix was unable to communicate with the milter. Note that this problem had NOT occurred on a slower system. It is only after a server upgrade that this problem occurred. Also, as speculation, I doubt that this problem would occur for those using sendmail as their MTA (I use postfix), because there is a conditional "sleep 1" for HUPping sendmail that will never happen when sendmail isn't used. Fix: Modify the start-up script to make the "sleep 1" unconditional How-To-Repeat: On a sufficiently fast system, include a non-default socket group in /etc/rc.conf spamass_milter_socket_group="mail" And start this on a system that is running an MTA other than sendmail. You should see an error at startup with chown complaining that the socket file doesn't exist. Later look at the socket file and you will see that it has its default group of "wheel" instead of "mail".
Comment 1 Edwin Groothuis 2009-04-04 21:30:11 UTC
Responsible Changed From-To: freebsd-ports-bugs->tabthorpe Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service 2009-04-26 04:34:48 UTC
tabthorpe 2009-04-26 03:34:38 UTC FreeBSD ports repository Modified files: mail/spamass-milter Makefile mail/spamass-milter/files spamass-milter.in Log: - Unconditionally sleep before HUP at start - Bump PORTREVISION PR: ports/133384 Submitted by: Jeffrey Goldberg <jeffrey goldmark.org> Revision Changes Path 1.33 +1 -1 ports/mail/spamass-milter/Makefile 1.6 +2 -2 ports/mail/spamass-milter/files/spamass-milter.in _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "email@example.com"
Comment 3 Thomas Abthorpe 2009-04-26 04:34:58 UTC
State Changed From-To: open->closed Committed. Thanks!