Mailinglist Archive: opensuse (3397 mails)

< Previous Next >
RE: [SLE] RE: [suse-sles-e] Configuring Spamassassin and amavisd-new
  • From: "Richard Mixon (qwest)" <rnmixon@xxxxxxxxx>
  • Date: Fri, 1 Apr 2005 12:05:06 -0700
  • Message-id: <DKELJBPNDHJEECCAEPGOOEBMLEAA.rnmixon@xxxxxxxxx>
Sandy Drobic wrote:
> Richard Mixon (qwest) wrote:
>> **** /var/log/mail - BEGIN ****
>> <SNIP>
>> Apr 1 09:24:12 gofish amavis[19362]: (19362-01) Passed,
>> <email1@xxxxxxxxx> -> <email1@xxxxxxxxxxxxxxxxxxxxxxx>, Message-ID:
>> <DKELJBPNDHJEECCAEPGOKEALLEAA.email1@xxxxxxxxx>, Hits: 3.584
>
> According to your settings below, this mail should have at least the
> X-Spam-Status header. I am slowly beginning to suspect that Outlook
> simply doesn't show that header.
>
> Could you do me the favor and check the email itself on the server
> (just open it with less) to see, if you suddenly find the missing
> header?
>
> Or as an alternative just use Thunderbird to read your mail and have
> a look at the message source.
>
>> $sa_tag_level_deflt = 3.0; # add spam info headers if at, or above
>> that
>
> If you wish to add the info headers to EVERY mail you could give the
> setting above a negative score. The server for this list for example
> uses a score of -20, so really every mail gets the info headers.
>

OK, in /etc/amavisd.conf I set
sa_tag_level_deflt = -20.0
saved and and did a "rcamavis restart"

Not sure how to use "less" to read mail, so I just used the "mail"
command - but nothing was there from a ssh session. So I used our
webmail, which is squirrelmail. It has an option to view "full header"
which I did. It does not have the X-Spam* headers of any kind. See below
and also further down I have the messages from /var/log/mail.

Thanks again - Richard

***** SQUIRRELMAIL - Full Headers BEGIN *****
Return-Path: <email1@xxxxxxxxx>
Received: from gofish.acmesoftware.com ([unix socket])
by gofish (Cyrus v2.2.3) with LMTP; Fri, 01 Apr 2005 11:46:14 -0700
X-Sieve: CMU Sieve 2.2
Received: from localhost (localhost [127.0.0.1])
by gofish.acmesoftware.com (Postfix) with ESMTP id 036A31777
for <email1@xxxxxxxxxxxxxxxxxxxxxxx>; Fri, 1 Apr 2005
11:46:14 -0700 (MST)
Received: from gofish.acmesoftware.com ([127.0.0.1])
by localhost (gofish [127.0.0.1]) (amavisd-new, port 10024) with
ESMTP
id 19362-04 for <email1@xxxxxxxxxxxxxxxxxxxxxxx>;
Fri, 1 Apr 2005 11:46:12 -0700 (MST)
Received: from mpls-qmqp-02.inet.qwest.net (mpls-qmqp-02.inet.qwest.net
[63.231.195.113])
by gofish.acmesoftware.com (Postfix) with SMTP id 97C8F1612
for <email1@xxxxxxxx>; Fri, 1 Apr 2005 11:46:12 -0700 (MST)
Received: (qmail 19600 invoked by uid 0); 1 Apr 2005 18:46:12 -0000
Received: from mpls-pop-08.inet.qwest.net (63.231.195.8)
by mpls-qmqp-02.inet.qwest.net with QMQP; 1 Apr 2005 18:46:12 -0000
Received: from vdsl-130-13-0-2.phnx.qwest.net (HELO redfish)
(130.13.0.7)
by mpls-pop-08.inet.qwest.net with SMTP; 1 Apr 2005 18:46:11 -0000
Date: Fri, 1 Apr 2005 11:46:08 -0700
Message-ID: <DKELJBPNDHJEECCAEPGOOEBKLEAA.email1@xxxxxxxxx>
From: "Richard Mixon (qwest)" <email1@xxxxxxxxx>
To: email1@xxxxxxxx
Subject: test s p a m
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0029_01C536B0.64E32940"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-Virus-Scanned: by amavisd-new at acme.com
***** SQUIRRELMAIL - Full Headers END *****

***** /var/log/mail BEGIN *****
<SNIP>
Apr 1 11:53:33 gofish postfix/smtpd[22039]: connect from
mpls-qmqp-03.inet.qwest.net[63.231.195.114]
Apr 1 11:53:33 gofish postfix/smtpd[22039]: 69ED51612:
client=mpls-qmqp-03.inet.qwest.net[63.231.195.114]
Apr 1 11:53:33 gofish postfix/cleanup[22041]: 69ED51612:
message-id=<DKELJBPNDHJEECCAEPGOAEBMLEAA.email1@xxxxxxxxx>
Apr 1 11:53:33 gofish postfix/qmgr[10679]: 69ED51612:
from=<email1@xxxxxxxxx>, size=3639, nrcpt=1 (queue active)
Apr 1 11:53:33 gofish postfix/smtp[22042]: connect to localhost[::1]:
Connection refused (port 10024)
Apr 1 11:53:33 gofish amavis[22022]: (22022-01) ESMTP::10024
/var/spool/amavis/amavis-20050401T115333-22022: <email1@xxxxxxxxx> ->
<email1@xxxxxxxxxxxxxxxxxxxxxxx> Received: SIZE=3639 from
gofish.acmeSoftware.com ([127.0.0.1]) by localhost (gofish [127.0.0.1])
(amavisd-new, port 10024) with ESMTP id 22022-01 for
<email1@xxxxxxxxxxxxxxxxxxxxxxx>; Fri, 1 Apr 2005 11:53:33 -0700 (MST)
Apr 1 11:53:33 gofish postfix/smtpd[22039]: disconnect from
mpls-qmqp-03.inet.qwest.net[63.231.195.114]
Apr 1 11:53:33 gofish amavis[22022]: (22022-01) Checking:
<email1@xxxxxxxxx> -> <email1@xxxxxxxxxxxxxxxxxxxxxxx>
Apr 1 11:53:36 gofish amavis[22022]: (22022-01) spam_scan: hits=4.9
tests=BIZ_TLD,GAPPY_SUBJECT,HTML_30_40,HTML_MESSAGE,HTML_TAG_EXISTS_TBOD
Y,VIAGRA
Apr 1 11:53:36 gofish amavis[22022]: (22022-01) FWD via SMTP:
[127.0.0.1]:10025 <email1@xxxxxxxxx> -> <email1@xxxxxxxxxxxxxxxxxxxxxxx>
Apr 1 11:53:36 gofish postfix/smtpd[22046]: connect from
localhost[127.0.0.1]
Apr 1 11:53:36 gofish postfix/smtpd[22046]: D185D1763:
client=localhost[127.0.0.1]
Apr 1 11:53:36 gofish postfix/cleanup[22041]: D185D1763:
message-id=<DKELJBPNDHJEECCAEPGOAEBMLEAA.email1@xxxxxxxxx>
Apr 1 11:53:36 gofish postfix/qmgr[10679]: D185D1763:
from=<email1@xxxxxxxxx>, size=4116, nrcpt=1 (queue active)
Apr 1 11:53:36 gofish amavis[22022]: (22022-01) Passed,
<email1@xxxxxxxxx> -> <email1@xxxxxxxxxxxxxxxxxxxxxxx>, Message-ID:
<DKELJBPNDHJEECCAEPGOAEBMLEAA.email1@xxxxxxxxx>, Hits: 4.9
Apr 1 11:53:36 gofish amavis[22022]: (22022-01) TIMING [total 3301
ms] - SMTP EHLO: 4 (0%), SMTP pre-MAIL: 0 (0%), mkdir tempdir: 0 (0%),
create email.txt: 0 (0%), SMTP pre-DATA-flush: 3 (0%), SMTP DATA: 39
(1%), body hash: 1 (0%), mkdir parts: 1 (0%), mime_decode: 15 (0%),
get-file-type: 13 (0%), get-file-type: 12 (0%), decompose_part: 2 (0%),
decompose_part: 0 (0%), parts: 0 (0%), AV-scan-1: 4 (0%), SA msg read: 2
(0%), SA parse: 1 (0%), SA check: 3106 (94%), fwd-connect: 34 (1%),
fwd-mail-from: 4 (0%), fwd-rcpt-to: 9 (0%), write-header: 2 (0%),
fwd-data: 0 (0%), fwd-data-end: 44 (1%), fwd-rundown: 1 (0%),
unlink-2-files: 3 (0%), rundown: 0 (0%)
Apr 1 11:53:36 gofish postfix/smtp[22042]: 69ED51612:
to=<email1@xxxxxxxxxxxxxxxxxxxxxxx>, orig_to=<email1@xxxxxxxx>,
relay=localhost[127.0.0.1], delay=3, status=sent (250 2.6.0 Ok,
id=22022-01, from MTA: 250 Ok: queued as D185D1763)
Apr 1 11:53:36 gofish postfix/qmgr[10679]: 69ED51612: removed
Apr 1 11:53:36 gofish postfix/smtpd[22046]: disconnect from
localhost[127.0.0.1]
Apr 1 11:53:37 gofish postfix/lmtp[22048]: D185D1763:
to=<email1@xxxxxxxxxxxxxxxxxxxxxxx>,
relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=1,
status=sent (250 2.1.5 Ok)
Apr 1 11:53:37 gofish postfix/qmgr[10679]: D185D1763: removed
<SNIP>
***** /var/log/mail END *****





< Previous Next >
References