SpamAssassin

existenz

Verified User
Joined
Jul 18, 2003
Messages
607
Location
/dev/null
I can't get spamassassin to work.

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email][email protected][/email]
    local delivery failed

The following text was generated during the delivery attempt:

------ [email][email protected][/email] ------

An error was detected while processing a file of BSMTP input.
The error message was:

  421 Lost incoming connection

The SMTP transaction started in line 0.
The error was detected in line 3.
0 previous messages were successfully processed.
The rest of the batch was abandoned.
421 Lost incoming connection
Transaction started in line 0
Error detected in line 3

Anyone else able to replicate this problem? I have done everything right:

ran ./spam.sh from the da scripts folder
uncommented out spamassin stuff from /etc/exim.conf
started spamd

It rejects and give the message above. I don't see anything in the logs about it. I also tried upgrading and using SpamAssassin 2.63 same deal.

I am at a loss
 
I read all though that maillist last night. I found that exact same post, I don't think that is my issue. He said it was permissions of the spamc and spamd if I remember correctly.

I am rebuilding the system to make sure it was not us.
 
John found the problem last night, search the /etc/exim.conf for spamc. Replace this:

/usr/bin/spamc

to

/usr/local/bin/spamc

I also added this script to boot spamd on boot since it does not currently does this. You can drop this in /usr/local/etc/rc.d/

You can call it spamd.sh and chmod to 744.
Code:
#!/bin/sh
#
# Startup / shutdown script for SpamAssassin daemon

case "$1" in
    start)
        /usr/local/bin/spamd --auto-whitelist --daemonize --pidfile=/var/run/spamd.pid && echo -n ' spamd'
        ;;

    stop)
        /bin/kill `cat /var/run/spamd.pid` > /dev/null 2>&1 && echo -n ' spamd'
        ;;

    *)
        echo "Usage: `basename $0` {start|stop}" >&2
        ;;
esac

exit 0
 
This was driving me nuts! I made the mistake of not methodically looking at it; went straight for a more complex issue.

Thanks John!
 
This IS still an issue. But the change of /usr/bin/spamc to /usr/local/bin/spamc found in this post does resolve the issue.

Big Wil
 
Help please. All I do under the instruction above mentioned but why that from addresses taking place in the Black list all the same reaches mail though it is necessary "Delete Spam" why ?

OS: FreBSD 5.2.1
 
Back
Top