1) the /etc/init.d/spamassassin script never seems to get launched on
startup
        is there something else needed?

2) We originally installed/used SA with mailscanner. I tried to convert to
SA-exim but could not get it to start and none of the docs have been updated
to 4.05 the news groups were also 3.x centric.
exim is now out and we ran a rpm -e on mailscanner.
Our current goal is to get spamass-milter working with sendmail.

The /etc/init.d script promised by spamass-milter was not in the contrib
directory
I wrote the following based on the spamassisin and sendmail scripts
*******************
#!/bin/sh
#
# sa-milter This script starts and stops the spamass-milter daemon
#
# description:  spamass-milter is a sendmail milter to call Spam Assassin
#               to block spam at SMTP time, instead of accepting, queing and
checking.

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

[  -f /usr/local/bin/spamass-milter ] || exit 0
PATH=$PATH:/usr/local/bin
prog=" sa-milter (spamass-milter)"

# See how we were called.
case "$1" in
  start)
        # Start daemon.
        echo -n $"Starting $prog: "
        daemon spamass-milter
        RETVAL=$?
        touch /var/lock/spamass-milter
        echo
        ;;
  stop)
        # Stop daemons.
        echo -n $"Shutting down $prog: "
        killproc spamass-milter
        RETVAL=$?
        rm -f /var/lock/spamass-milter
        echo
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  status)
        status spamass-milter
        ;;
  *)
        echo "Usage: %s {start|stop|restart|status}\n" "$0"
        exit 1
esac

exit 0
*******************

We created the site.config.m4 file (NOT siteconfig.m4 as commented in the
devtools/README) as:
*********
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ')
*********
added to the bottom of cf/cf/sendmail.mc
*************
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock,
F=, T=C:15m;S:4m;R:4m;E:10m')
*************

To rebuild sendmail for milters we ran:

        Build -f site.config.m4
        Build clean
        Build
        Build install

"/etc/init.d/sendmail start" reports in the log
        sendmail: WARNING: Xspamassassin: local socket name
/var/run/sendmail/spamass.sock missing

and "/etc/init.d/sa-milter start" reports in the log
        spamass-milter: spamass-milter- Version0.1.1
        spamass-milter: SpamAssassin Sendmail Milter Plugin
        spamass-milter: Usage: spamass-milter <socket>

So we are obviously missing the <socket> argument in the sa-milter script,
but I can not find any hint as to what that value should be, lots of
plaintive calls for help in the newsgroups about this same situation but no
responses.

Could some kind soul please supply the elusive socket value? Also a clue to
why the spamassin script isnt launching would be very welcome.


TIA, Bob

Robert J. Strickler
Sr. Consultant
Net56
1266 W. Northwest Hwy.
Suite 740 
Palatine, IL 60067


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to