Folks,
I'm having trouble with spamd's -u option on FreeBSD 4.10-STABLE, and so tried turning -D on in rc.conf, but "spamd.sh restart" fails when spamd is running in debug mode ("spamd.sh stop" has the same failure).
Has anyone else seen this problem, either on FreeBSD or elsewhere?
I tried rearranging options, but that didn't help.
spamd_flags="-a -c -d -r ${spamd_pidfile} -D -u spamd" # is no better
[EMAIL PROTECTED]:~$ uname -a
FreeBSD www.reppep.com 4.10-STABLE FreeBSD 4.10-STABLE #16: Wed Jul 21 18:25:39 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/REPPEP i386
[EMAIL PROTECTED]:~$ pkg_info|grep Spam
p5-Mail-SpamAssassin-2.63_2 A highly efficient mail filter for identifying spam
Thanks,
Chris Pepper
www# ps -ax | grep spam www# grep spamd /etc/rc.conf spamd_enable="YES" # SpamAssassin daemon spamd_flags="-u spamd -a -c -d -r ${spamd_pidfile}" www# /usr/local/etc/rc.d/spamd.sh start Starting spamd. www# /usr/local/etc/rc.d/spamd.sh restart Stopping spamd. Starting spamd. www# /usr/local/etc/rc.d/spamd.sh restart Stopping spamd. Waiting for PIDS: 15412. Starting spamd. www# /usr/local/etc/rc.d/spamd.sh restart Stopping spamd. Starting spamd. www# /usr/local/etc/rc.d/spamd.sh restart Stopping spamd. Waiting for PIDS: 15464. Starting spamd. www# ps -ax | grep spam 15492 ?? Ss 0:00.71 /usr/local/bin/spamd -u spamd -a -c -d -r /var/run/sp www# vi /etc/rc.conf
f enabled).
usbd_flags="-v"
saver="daemon" blanktime="300"
# Change: # Enable firewall & set type to reppep # Enable nfs_server
xntpd_enable="YES" # Run ntpd Network Time Protocol (or NO). xntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one. xntpd_flags="-p /var/run/ntpd.pid" # Flags to ntpd (if enabled).
# FreeBSD 5 ports
apache2_enable="YES"
apache2ssl_enable="YES"
dracd_enable="YES" # Provide POP-before-SMTP functionality. --cp
smartd_enable="YES"
spamd_enable="YES" # SpamAssassin daemon
spamd_flags="-u spamd -D -a -c -d -r ${spamd_pidfile}"
/etc/rc.conf: 92 lines, 3010 characters.
www# grep spamd /etc/rc.conf
spamd_enable="YES" # SpamAssassin daemon
spamd_flags="-u spamd -D -a -c -d -r ${spamd_pidfile}"
www# /usr/local/etc/rc.d/spamd.sh restart
Stopping spamd.
Starting spamd.
debug: Score set 0 chosen.
www# /usr/local/etc/rc.d/spamd.sh restart
spamd not running?
Starting spamd.
debug: Score set 0 chosen.
Could not create INET socket: Address already in use IO::Socket::INET: Address already in use
www# /usr/local/etc/rc.d/spamd.sh restart
spamd not running?
Starting spamd.
debug: Score set 0 chosen.
Could not create INET socket: Address already in use IO::Socket::INET: Address already in use
--
Chris Pepper: <http://www.reppep.com/~pepper/>
Rockefeller University: <http://www.rockefeller.edu/>