-------- Original Message --------
Hi,
You have to uncomment the lines below:
#:0:
#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#almost-certainly-spam
and
#:0:
#* ^X-Spam-Status: Yes
#probably-spam
to procmail recipes goes on.
Yours,
Diye Wariebi wrote:
>Hello List
>
>I have a new linux box running Ensim pro. I want to install spamassassin for
>all domains on the box. I downloaded the RPMs and installed as below.
>
>rpm -Uvh perl-Mail-SpamAssassin-2.60-1.i386.rpm
>rpm -Uvh spamassassin-2.60-1.i386.rpm
>rpm -Uvh spamassassin-tools-2.60-1.i386.rpm
>
>Now when I send emails through nothing happens. No log files are created
>under /tmp and from my sendmail logs nothing shows up other than server
>starting ( spamd[31147]: server started on port 783/tcp (running version 2.60))
>
>Below is a copy of my /etc/procmailrc file
>
>PATH=/bin:/usr/bin:/usr/local/bin
>PMDIR=$HOME/.procmail
>MAILDIR=$HOME/.procmail
>MAILDIR=$HOME/mail
>LOGFILE=/tmp/procmail.log
>LOCKEXT=.lock
>
>#
>:0fw: spamassassin.lock
>* < 256000
>| /usr/bin/spamassassin
>
># Mails with a score of 15 or higher are almost certainly spam (with 0.05%
># false positives according to rules/STATISTICS.txt). Let's put them in a
># different mbox. (This one is optional.)
>#:0:
>#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
>#almost-certainly-spam
>
># All mail tagged as spam (eg. with a score higher than the set threshold)
># is moved to "probably-spam".
>#:0:
>#* ^X-Spam-Status: Yes
>#probably-spam
>
># Work around procmail bug: any output on stderr will cause the "F" in "From"
># to be dropped. This will re-add it.
>:0
>* ^^rom[ ]
>{
> LOG="*** Dropped F off From_ header! Fixing up. "
>
> :0 fhw
> | sed -e '1s/^/F/'
>}
>
>=======================================================================
>
>and below is a copy of my /etc/mail/spamassassin/local.cf file
>
>
># How many hits before a message is considered spam.
>required_hits 5.0
>
># Whether to change the subject of suspected spam
>rewrite_subject 1
>
># Text to prepend to subject if rewrite_subject is used
>subject_tag [SPAM]
>
># Encapsulate spam in an attachment
>report_safe 1
>
># Use terse version of the spam report
>use_terse_report 0
>
># Enable the Bayes system
>use_bayes 1
>
># Enable Bayes auto-learning
>auto_learn 1
>
># Enable or disable network checks
>skip_rbl_checks 0
>use_razor2 1
>use_dcc 1
>use_pyzor 1
>
># Mail using languages used in these country codes will not be marked
># as being possibly spam in a foreign language.
># - english german
>ok_languages en de
>
># Mail using locales used in these country codes will not be marked
># as being possibly spam in a foreign language.
>ok_locales en
>
>===========================================================================
>
>Any help will be greatly apprecited
>
>
>BTW
>
>When I run the following commnad I get a reponse back implying the spamassassin
>is installed correctly.
>
>spamc -R < /usr/share/doc/spamassassin-2.60/sample-nonspam.txt
>spamc -R < /usr/share/doc/spamassassin-2.60/sample-spam.txt
>
>
>
>
|