spamassassin…

spamassassin 에서
spamd 실행시 에러 …

unix dgram connect: Socket operation on non-socket at /usr/local/bin/spamd line xxx

solution..
add next option.

–syslog-socket=inet ..

/etc/init.d/spamd 화일
===========================================================

#!/sbin/sh
#
# Copyright (c) 2001 by Sun Microsystems, Inc
# All rights reserved.
#
#ident “@(#)spamd 05/08/06 POSS”

case “$1” in
start)
/usr/local/bin/spamd -d -i 0.0.0.0 -x -u qmaild –syslog-socket=inet &

;;
stop)
/bin/pkill spamd

;;
*)
echo “Usage: $0 { start | stop }”
exit 1
;;
esac
exit 0

답글 남기기

Your email address will not be published.