> -----Original Message-----
> From: Douglas Kirkland [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 24, 2003 7:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [SAtalk] SpamAssassin only working on 127.0.0.1 & not on
> external mail
> 
> >          >Also check out the -i option.
> >         >
> >         >       -i ipaddress, --listen-ip=ipaddress, 
> --ip-address=ipad-
> >         >       dress
> >         >           Tells spamd to listen on the specified 
> IP address
> >         >           [defaults to 127.0.0.1].  Use 0.0.0.0 
> to listen on all
> >         >           interfaces.
> >         >
> Well, on my virtual servers I had to set the -i option to 
> 0.0.0.0 to allow it 
> to work.  The loopback only address will or should not allow 
> connections from 
> other nodes because it is not external IP address.  That is 
> my understanding.
> 
> Douglas


Douglas and anyone else,

Okay - well, I followed your suggestion and gave it a shot.  Below is the entire 
/etc/rc.d/init.d/spamassassin file as modified -  SPAMDOPTIONS="-d -c -a -m5 -H -i 
0.0.0.0"   - after which I restarted the service.

It still isn't working.

Any other suggestions?

Jesse

PS.  Merry Christmas


[EMAIL PROTECTED] init.d]# cat spamassassin
#!/bin/sh
#
# spamassassin This script starts and stops the spamd daemon
#
# chkconfig: 2345 80 30
#
# description: spamd is a daemon process which uses SpamAssassin to check
#              email messages for SPAM.  It is normally called by spamc
#              from a MDA.

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

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

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

# Source spamd configuration.
if [ -f /etc/sysconfig/spamassassin ] ; then
        . /etc/sysconfig/spamassassin
else
        SPAMDOPTIONS="-d -c -a -m5 -H -i 0.0.0.0"
fi

[ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0
PATH=$PATH:/usr/bin:/usr/local/bin

# See how we were called.
case "$1" in
  start)
        # Start daemon.
        echo -n "Starting spamd: "
        daemon spamd $SPAMDOPTIONS
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && touch /var/lock/subsys/spamassassin
        ;;
  stop)
        # Stop daemons.
        echo -n "Shutting down spamd: "
        killproc spamd
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && rm -f /var/lock/subsys/spamassassin
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  condrestart)
       [ -e /var/lock/subsys/spamassassin ] && $0 restart
       ;;
  status)
        status spamd
        ;;
  *)
        echo "Usage: $0 {start|stop|restart|status|condrestart}"
        exit 1
esac

exit 0
[EMAIL PROTECTED] init.d]#
N¬HYÞéX¬²š'²ŠÞu¼ˆÂâžìSºÚ+‰©lç(™æ§{^®Ø,ƒT^ŠãºËl…ªéz|¨º»$ŠYlJ('º—èL°ZÞx¸§»îâj[yªçz÷«ÊØbžë¢kay¶¬†È^–[h³+vh§
Xœ’z0†ÛiÿöÊ&ý§bw]»ñ©e¡Èß~õ¢—%‰É¥©š²Æ²)íjY&j)bž  
b²Ôjf¬±«,Š{Z–Ib²Û,¢êÜyú+éÞm¦Ïÿ–+-²Ê.­Ç¢¸ë–+-³ùb²Ø~ìš²Æ²)íjY

Reply via email to