spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: A Clockwork Orange
Subject: (no subject)
Date: Sat, 29 Nov 2003 19:50:23 -0800

Hi
 
FeeBSD
I use sendmail-8.12.10+spamassassin-2.0+spamass-milter+cyrus-imapd-2.0.17.
 
We can see following in /usr/ports/mail/spamass-milter/work/activation.txt
 
Now all messages received by Sendmail are filtered through
SpamAssassin, and probable spam messages are tagged with the header
`X-Spam-Flag: YES'.  Tell your users about this so they can set up
appropriate filters on their mail reader.
 
AND IN man spamass-milter
 
-b spamaddress
            Redirects tagged spam to the specified email address. 
            All envelope recipients are removed, and inserted
            into the message as `X-Spam-Orig-To:' headers.
 
-B spamaddress
            Same as -b, except the original recipients are retained.
            Only one of -b and -B may be used.
 
I start spamass-miter as
 
www# cat /usr/local/etc/rc.d/spamass.sh
#!/bin/sh
 
DAEMON=/usr/local/sbin/spamass-milter
#SOCKET=/var/run/spamass-milter.sock
SOCKET=/var/run/spamass.sock
PIDFILE=/var/run/spamass-milter.pid
 
case "$1" in
start)
        if [ -f "${DAEMON}" -a -x "${DAEMON}" ]
        then
                "${DAEMON}" -p "${SOCKET}" -f -B address@hidden -i 3.1.1.0/24 &
                echo $! > "${PIDFILE}"
                sleep 1
                kill -HUP `head -1 /var/run/sendmail.pid`
                echo -n ' spamass-milter'
        fi
 
        [ -x /usr/bin/spamd ] && /usr/bin/spamd -a -d -r /var/run/spamd.pid -u nobody && echo -n ' spamd'
        echo -n ' sendmail'
 
        ;;
stop)
        kill `cat /var/run/spamd.pid` && rm /var/run/spamd.pid
        echo -n ' spamd'
 
        ;;
restart)
        kill -1 `cat /var/run/spamd.pid`
 
        ;;
esac
 
exit 0
www#
 
 
21893  ??  Is     0:00.00 sendmail: Queue address@hidden:30:00 for /var/spool/clientmqueue (sendmail)
26345  ??  Ss     0:00.12 sendmail: accepting connections (sendmail)
26352  ??  Is     0:01.37 /usr/bin/spamd -a -d -r /var/run/spamd.pid -u nobody (perl)
20564  p0  Ss     0:00.03 -csh (csh)
28732  p0  R+     0:00.00 ps -ax
21612  p1- S      0:00.03 /usr/local/cyrus/bin/master
67197  p1- I      0:00.02 lmtpd
26341  p2- S      0:00.08 /usr/local/sbin/spamass-milter -p /var/run/spamass.sock -f -B address@hidden -i 3.1.1.0/24
 
All work OK, but ONE BIG PROBLEM!
 
All messages marked as a spam are directed two directions:
-original recepients
-address@hidden as you can see in start script
 
Where am I mistaken?
What have I to do to correct that?
 
 
Leo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]