I'm trying to set up spamassassin with sendmail-8.13.4 using. sendmail
and spamd are both running, and I sent the GTUBE message to
[EMAIL PROTECTED] from [EMAIL PROTECTED] and it wasn't marked,
yet when I run
spamassassin -tD < /var/spool/mail/michael | more
it tags the message. How do I get spamassassin to integrate with
sendmail? Here is my sendmail.mc file (which I ran m4 on redirected to
sendmail.cf right before I stopped sendmail, started spamass-milter and
restarted sendmail):
bullet ~ # cat /etc/mail/sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp
$')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
#define(`confTO_IDENT',`0s')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
MASQUERADE_AS(`espersunited.com')dnl
MASQUERADE_DOMAIN(`espersunited.com')dnl
FEATURE(`masquerade_entire_domain')dnl
#Begin spamass-milter config
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
F=, T=C:15m;S:4m;R:4m;E:10m')dnl
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name},
{if_addr}')dnl
#End spamass-milter config
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(pop)dnl
Here's my /etc/mail/spamassassin/local.cf file:
bullet ~ # cat /etc/mail/spamassassin/local.cf
# SpamAssassin config file for version 3.x
# NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6
# See http://www.yrex.com/spam/spamconfig25.php for earlier versions
# Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50)
# How many hits before a message is considered spam.
required_score 5.0
# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 1
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
bayes_auto_learn 1
# Enable or disable network checks
skip_rbl_checks 1
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.
ok_languages all
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all
What am I doing wrong here?
--
[email protected] mailing list