Solved

Spamassassin is not marking messages as SPAM

Posted on 2006-10-20
3
277 Views
Last Modified: 2010-03-18
I just installed the spamassassin module on a Slakware 10.2 server that's usuing "Sendmail version 8.13.4, config V10/Berkeley"

I followed the steps in this article:
http://www.slackbasics.org/html/sendmail.html

the only thing I did not do is the last step to move the emails to an spam folder

But the messages still not being tagged as spam at all

Does someone knows what is missing here?

Thanks
0
Comment
Question by:ITMiami
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
Cyclops3590 earned 500 total points
ID: 17792697
did you restart sendmail and start spamd so that sendmail is reading the correct config and that spamd is listening so spamc can communicate to it.

check the syslog as well to see if there are any error messages there.  

btw, i've never used sendmail and have minimal experience with procmail, but i found this at sendmail.org:
http://www.sendmail.org/doc/sendmail-current/cf/README



local_procmail      Use procmail or another delivery agent as the local mailer.
            The argument to this feature is the pathname of the
            delivery agent, which defaults to PROCMAIL_MAILER_PATH.
            Note that this does NOT use PROCMAIL_MAILER_FLAGS or
            PROCMAIL_MAILER_ARGS for the local mailer; tweak
            LOCAL_MAILER_FLAGS and LOCAL_MAILER_ARGS instead, or
            specify the appropriate parameters.  When procmail is used,
            the local mailer can make use of the
            "user+indicator@local.host" syntax; normally the +indicator
            is just tossed, but by default it is passed as the -a
            argument to procmail.

            This feature can take up to three arguments:

            1. Path to the mailer program
               [default: /usr/local/bin/procmail]
            2. Argument vector including name of the program
               [default: procmail -Y -a $h -d $u]
            3. Flags for the mailer [default: SPfhn9]

            Empty arguments cause the defaults to be taken.
            Note that if you are on a system with a broken
            setreuid() call, you may need to add -f $f to the procmail
            argument vector to pass the proper sender to procmail.

            For example, this allows it to use the maildrop
            (http://www.flounder.net/~mrsam/maildrop/) mailer instead
            by specifying:

            FEATURE(`local_procmail', `/usr/local/bin/maildrop',
             `maildrop -d $u')

            or scanmails using:

            FEATURE(`local_procmail', `/usr/local/bin/scanmails')

            WARNING: This feature sets LOCAL_MAILER_FLAGS unconditionally,
            i.e.,  without respecting any definitions in an OSTYPE setting.
0
 

Author Comment

by:ITMiami
ID: 17799969
You got it, I restarted the box and the spamassassin is working now...

Thanks a lot
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 17802666
Glad I could help point you in the right direction.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now