| Summary: | /usr/ports/mail/qmail-scanner doesn't detect spamassassin correctly in all cases | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Will Saxon <wills> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Dear maintainer, please look into this issue! Volker State Changed From-To: open->feedback Forwarded PR to maintainer State Changed From-To: feedback->closed Committed, thanks! |
The existing patch to the qmail-scanner configure script assumes "--socketpath=/path/to/socket" is the only valid way to specify the unix socket for spamd. "--socketpath /path/to/socket" also works. Fix: change: + SPAMD_SOCKET=`ps auxwww 2>/dev/null|egrep 'spamd.*socket'|grep -v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'` to + SPAMD_SOCKET=`ps auxwww 2>/dev/null|egrep 'spamd.*socket'|grep -v grep|sed -e 's/^.*socketpath[\ |=]//'|awk '{print $1}'` in files/patch-configure How-To-Repeat: start spamd with '--socketpath /path/to/socket' and then try to install qmail-scanner. It will complain about spamassassin not being set up right and it ignores spamassassin.