LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   is spamassassin is working (https://www.linuxquestions.org/questions/linux-newbie-8/is-spamassassin-is-working-246924/)

ryedunn 10-24-2004 09:16 PM

is spamassassin is working
 
How can I verify that spamassassin is working? Viewing the logs I get these errors.

Oct 24 20:55:11 www spamc[5425]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Oct 24 20:55:12 www spamc[5425]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Oct 24 20:55:13 www spamc[5425]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Oct 24 20:55:14 www spamc[5425]: connection attempt to spamd aborted after 3 retries

Thank you,
R

btmiller 10-24-2004 10:54 PM

It appears not to be. You should check that spamd is indeed running. if it is running, then assuming you've configured it to modify message headers, you should see X-Spam-status and the other SpamAssassin headers in delivered mail.

ryedunn 10-25-2004 08:46 AM

spamd is running:
root 2919 1 0 Oct24 ? 00:00:00 /usr/bin/spamd -d -c -a -m5 -H

I fwd'd some erectile dysfunction email to SPAM@mydomain.com but I never saw it appear in any of my mailboxes...

Maybe you can help, what do I need in my $HOME/.procmailrc so that spam gets directed into my junkmail mailbox?

here is my current .procmailrc

Code:

SHELL=/bin/sh
PATH="$HOME/bin:/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/usr/sbin"
LOCKFILE=$HOME/lockfile.lock
ASSASSINLOCK=$HOME/assassin.lock
DEFAULT=$HOME/Maildir/
JUNKMAIL=$HOME/Maildir/.junkmail/
TRASH=$HOME/Maildir/.Trash
BITBUCKET=/dev/null
LOCKTIMEOUT=10
LOGFILE=$HOME/procmail.log
#LOGABSTRACT=no
#VERBOSE=no

# Catch SPAM
:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
spam


ryedunn 10-25-2004 09:37 AM

disregard, its working correctly


All times are GMT -5. The time now is 09:10 AM.