1 |
I'm trying to set up spamassassin with sendmail-8.13.4 using. sendmail |
2 |
and spamd are both running, and I sent the GTUBE message to |
3 |
michael@××××××××××××.com from msulli1355@×××××.com and it wasn't marked, |
4 |
yet when I run |
5 |
|
6 |
spamassassin -tD < /var/spool/mail/michael | more |
7 |
|
8 |
it tags the message. How do I get spamassassin to integrate with |
9 |
sendmail? Here is my sendmail.mc file (which I ran m4 on redirected to |
10 |
sendmail.cf right before I stopped sendmail, started spamass-milter and |
11 |
restarted sendmail): |
12 |
|
13 |
bullet ~ # cat /etc/mail/sendmail.mc |
14 |
divert(-1) |
15 |
divert(0)dnl |
16 |
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl |
17 |
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp |
18 |
$')dnl |
19 |
OSTYPE(linux)dnl |
20 |
DOMAIN(generic)dnl |
21 |
|
22 |
#define(`confTO_IDENT',`0s')dnl |
23 |
|
24 |
|
25 |
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl |
26 |
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl |
27 |
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl |
28 |
|
29 |
MASQUERADE_AS(`espersunited.com')dnl |
30 |
MASQUERADE_DOMAIN(`espersunited.com')dnl |
31 |
FEATURE(`masquerade_entire_domain')dnl |
32 |
|
33 |
|
34 |
#Begin spamass-milter config |
35 |
|
36 |
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, |
37 |
F=, T=C:15m;S:4m;R:4m;E:10m')dnl |
38 |
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, |
39 |
{if_addr}')dnl |
40 |
|
41 |
#End spamass-milter config |
42 |
|
43 |
MAILER(local)dnl |
44 |
MAILER(smtp)dnl |
45 |
MAILER(pop)dnl |
46 |
|
47 |
|
48 |
Here's my /etc/mail/spamassassin/local.cf file: |
49 |
|
50 |
bullet ~ # cat /etc/mail/spamassassin/local.cf |
51 |
# SpamAssassin config file for version 3.x |
52 |
# NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6 |
53 |
# See http://www.yrex.com/spam/spamconfig25.php for earlier versions |
54 |
# Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50) |
55 |
|
56 |
# How many hits before a message is considered spam. |
57 |
required_score 5.0 |
58 |
|
59 |
# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe) |
60 |
report_safe 1 |
61 |
|
62 |
# Enable the Bayes system |
63 |
use_bayes 1 |
64 |
|
65 |
# Enable Bayes auto-learning |
66 |
bayes_auto_learn 1 |
67 |
|
68 |
# Enable or disable network checks |
69 |
skip_rbl_checks 1 |
70 |
use_razor2 1 |
71 |
use_dcc 1 |
72 |
use_pyzor 1 |
73 |
|
74 |
# Mail using languages used in these country codes will not be marked |
75 |
# as being possibly spam in a foreign language. |
76 |
ok_languages all |
77 |
|
78 |
# Mail using locales used in these country codes will not be marked |
79 |
# as being possibly spam in a foreign language. |
80 |
ok_locales all |
81 |
|
82 |
|
83 |
What am I doing wrong here? |
84 |
|
85 |
-- |
86 |
gentoo-user@g.o mailing list |