LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2004, 09:16 PM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
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
 
Old 10-24-2004, 10:54 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 10-25-2004, 08:46 AM   #3
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
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
 
Old 10-25-2004, 09:37 AM   #4
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
disregard, its working correctly
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassassin: test it's working hamish Linux - Networking 2 05-13-2005 06:14 AM
SpamAssassin: bayesian tests not working? J_Szucs Linux - Software 1 03-05-2004 09:33 AM
Spamassassin not working in Slack9 nssrikanth Linux - Software 0 09-21-2003 12:01 PM
Procmail not working with sendmail/spamassassin jamestastic3924 Linux - Networking 0 09-14-2003 01:01 PM
Spamassassin working too well! rovertus Linux - Software 2 07-18-2003 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration