> When I run Q-S ./configure I get this instead:
>
> <snip>
>
> Something like spamc for SpamAssassin detected - but not
> correctly installed
>
> (didn't include a "X-Spam-Status: Yes" line in output) - ignoring...
>
> <snip>
You wouldn't happen to be using spamd with UNIX sockets would you?
I ran into a similar problem.
I traced it to the way configure detects the path to the socket using ps.
On my system, the number of options I was using to start spamd with caused
the socket path to disappear off the right of the ps output, so configure
would never find it.
I edited configure to increase the number of columns displayed. The diff
should be below. I'm not sure if this is portable or if there's a better
way of doing it, but it worked for me.
Hope this helps,
Chris Hine
--- configure.orig Tue Nov 9 12:09:22 2004
+++ configure Mon Nov 1 09:37:24 2004
@@ -913,9 +913,9 @@
SPAMC_BINARY="${SPAMC_BINARY:-$dir/spamc}"
#Test to see if spamc is calling Unix sockets instead of TCP
- SPAMD_SOCKET=`ps -ef 2>/dev/null|egrep 'spamd.*socket'|grep -v
grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
+ SPAMD_SOCKET=`ps -ef --cols=400 2>/dev/null|egrep
'spamd.*sock*'|grep -v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
if [ "$SPAMD_SOCKET" = "" ]; then
- SPAMD_SOCKET=`ps aux 2>/dev/null|egrep 'spamd.*socket'|grep
-v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
+ SPAMD_SOCKET=`ps aux --cols=400 2>/dev/null|egrep
'spamd.*sock*'|grep -v grep|sed -e 's/^.*socketpath=//'|awk '{print $1}'`
fi
if [ "$SPAMD_SOCKET" != "" -a -S "$SPAMD_SOCKET" ]; then
SPAMC_BINARY="$SPAMC_BINARY -U $SPAMD_SOCKET"
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general