Perhaps you are running an old version of spamd? I installed with spamassassin 3.0.1 and clamAV 0.80 with no problems whatsoever...
I have attached the spamd script I use to start and stop spamd, just for informational purposes. You'll see that the invocation is:
/sbin/startproc -v /usr/bin/spamd -x -u spamd -H /home/spamd -d --pidfile=/var/run/spamd.pid
after you dereference all macros in the file.
Fundamentally, this is a qmail-scanner/spamassassin issue, not an st-qms patch issue.
MST
Asif Iqbal wrote:
Hi Mark
I am getting this error message
Searching ........... Oops... Spamd socket not found in qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq qmailq
It seem that you're running spamd in unix-socket mode, but the configure script couldn't find the socket properly. Try to set it manually using the configure option --sa-socket ...
This is how I am running spamd
exec /usr/local/bin/spamd -m 20 -s stderr --syslog-socket=inet -u qmailq
Please help
Thanks
On Sat, Nov 06, 2004 at 12:16:09PM, Mark Teel wrote:
All:
qms-analog version 0.4.0 is released to SourceForge.
You can download it here: http://www.qms-analog.teel.ws
Changes listed below.
MST
Version: 0.4.0, 11/02/2004 --------------------------
1) Ported st-qms patch to qmail-scanner-1.24.
2) Added qms-monitor capability to st-qms patch. See README-qms-monitor (after applying the patch) for details.
3) Modified qmailstats script to change the order of some blocks and to better document qms-analog usage.
4) Added qms-config-monitor and qms-config-monitor-cwrapper to support installs that want to use qms-monitor.
5) Renamed qms-config-script to qms-config and qms-config-script-cwrapper to qms-config-cwrapper.
6) Added parameter descriptions in all four of the new configure scripts.
7) Moved the four configure scripts and the qms-monitor cron script example into the patch - so no configure script has to be manually copied to the qmail-scanner-1.24 distro directory. Only the patch file now has to be copied (and applied).
------------------------------------------------------- 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
#!/bin/sh # # /etc/init.d/spamd # # # load the configuration # test -s /etc/rc.status && \ . /etc/rc.status
# # set the base directory # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin DAEMON=/usr/bin/spamd NAME=spamd SNAME=spamd DESC="SpamAssassin Mail Filter Daemon" PIDFILE="/var/run/$NAME.pid" PNAME="spamd" DOPTIONS="-x -u spamd -H /home/spamd -d --pidfile=$PIDFILE" rc_reset # # The echo return value for success (defined in /etc/rc.status). # return=$rc_done # # main part # case "$1" in start) echo -n "Starting $DESC: " if [ -f $PIDFILE ]; then echo -n "already running" rc_status -v rc_exit fi /sbin/startproc -v $DAEMON $DOPTIONS ret=$? if test $ret != 0; then echo "$DAEMON failed" rm -f $PIDFILE rc_failed $ret rc_status -v rc_exit fi rc_status -v ;; stop) echo -n "Stopping $DESC: " /sbin/killproc -p $PIDFILE -TERM $DAEMON rm -f $PIDFILE rc_status -v ;; restart) $0 stop && sleep 1 $0 start # Remember status and be quiet rc_status ;; status) echo -n "Checking for $DESC:" /sbin/checkproc $PIDFILE if test $? != 0; then echo $DESC not running... fi rc_status ;; *) echo "Usage: $0 {start|stop|status|restart}" exit 1 esac # Inform the caller not only verbosely and set an exit status. rc_exit