|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
amavisd : Lost Header Tags
From: A. Gaul (abs-technik
gmx.de)
Date: Mon Mar 08 2004 - 05:10:56 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have a problem with the Header-Tags inserted by amavisd and spamassassin.
I'm missing the Spam-Header Tag and the change of subject, when a mail is
marked as spam. The only thing i see im moment is the line "X-Virus-Scanned:
by amavisd-new at localhost" Postfix is configured as mentioned in the
amavisd-new howto (contentfilter...)
Here is a snapshot of my amavid.conf - which is IMHO correct and a logfile
(amavis.log). Could someone tell me where to look for ?
I tested with a testmessage from amavis...
Thanks in advance,
Andreas
---------------------------------
# string to prepend to Subject header field when message exceeds tag2 level
$sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disables)
# (only seen when spam is not to be rejected
# and recipient is in local_domains*)
$sa_spam_modifies_subj = 1; # may be a ref to a lookup table, default is
true
# Example: modify Subject for all local recipients except user
example.com
$sa_spam_modifies_subj = [qw( !user
example.com . )];
---------------------------------
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-01) Net::Server:
2004/03/08-09:03:24 CONNECT TCP Peer: "127.0.0.1:36773" Local:
"127.0.0.1:10024"
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-01) lookup_ip_acl:
key="127.0.0.1" matches "127.0.0.1", result=1
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-01) prolong_timer after new
request - timer reset: remaining time = 300 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-01) SMTP> 220 [127.0.0.1] ESMTP
amavisd-new service ready
...
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) prolong_timer after DATA
received - timer reset: remaining time = 300 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) LMTP::10024
/var/amavis/tmp/amavis-20040308T085313-19709: <root
lokale.domain.de> ->
<2b0001
lokale.domain.de> Received: SIZE=1227 from mail ([127.0.0.1]) by
localhost (mail2 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id
19709-02 for <2b0001
lokale.domain.de>; Mon, 8 Mar 2004 09:03:24 +0100
(CET)
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) LMTP> 354 End data with
<CR><LF>.<CR><LF>
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) LMTP< .\r\n
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) body hash:
23de00e370e172bf1131549161f4971b
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Original mail size: 1189;
quota set to: 594500 bytes
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Checking:
<root
lokale.domain.de> -> <2b0001
lokale.domain.de>
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Extracting mime components
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Issued a new file name:
part-00001
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) mime_decode: Content-type:
text/plain, name:
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Charging 799 bytes to
remaining quota 594500 (out of 594500, (0%)) - by mime_decode
....
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) decode_parts: level=1,
#parts=1 : part-00001
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) run_command: [19994]
/usr/bin/file /var/amavis/tmp/amavis-20040308T085313-19709/parts/part-00001
</dev/null
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) File-type of part-00001:
ASCII English text; (.asc)
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Checking for banned
(contents-based) file types, 1 parts
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) check_for_banned
(part-00001) - file type: .asc
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_RE: key=".asc", no
match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) check_for_banned
(part-00001) - file type: ASCII English text
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_RE: key="ASCII
English text", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) do_ascii: Decoding part
part-00001 (0 items)
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) decompose_part: part-00001
- atomic
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) prolong_timer after
decoding: remaining time = 300 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Using Clam Antivirus-clamd:
(built-in interface)
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Clam Antivirus-clamd:
Connecting to socket /tmp/clamd
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Clam Antivirus-clamd:
Sending CONTSCAN /var/amavis/tmp/amavis-20040308T085313-19709/parts\n to
UNIX socket /tmp/clamd
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Clam Antivirus-clamd
result: /var/amavis/tmp/amavis-20040308T085313-19709/parts: OK\n
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) prolong_timer after
virus_scan: remaining time = 300 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) white_black_list: checking
sender <root
lokale.domain.de>
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="root
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_RE:
key="root
lokale.domain.de", no match
...
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_hash: key=".", no
match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="root
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) CALLING NoMailAudit::check
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) RETURNED FROM
NoMailAudit::check, time left: 20 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) prolong_timer after
spam_scan_SA: remaining time = 300 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) spam_scan: hits=1000
tests=GTUBE
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) prolong_timer after
spam_scan: remaining time = 300 s
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup: (scalar) matches,
result="100000"
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) header: Received: from mail
([127.0.0.1])\n by localhost (mail2 [127.0.0.1]) (amavisd-new, port 10024)
with LMTP\n id 19709-02 for <2b0001
lokale.domain.de>;\n Mon, 8 Mar 2004
09:03:24 +0100 (CET)\n
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) header: X-Virus-Scanned: by
amavisd-new at localhost\n
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup_acl:
key="2b0001
lokale.domain.de", no match
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup: (scalar) matches,
result="0.1"
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) lookup: (scalar) matches,
result="6"
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) headers CLUSTERING: NEW
CLUSTER <2b0001
lokale.domain.de>: hits=1000.0, tag=0, tag2=0, subj=0,
local=0, bl=0
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) headers CLUSTERING: done
all 1 recips in one go
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) FWD via SMTP:
[127.0.0.1]:10025 <root
lokale.domain.de> -> <2b0001
lokale.domain.de>
Mar 8 09:03:24 mail2 amavisd[19709]: (19709-02) Remote host introduces
itself as: mail
...
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) response to data end: "250
Ok: queued as EB718C6D53"
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) prolong_timer after
fwd-rundown-1: remaining time = 300 s
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) mail_via_smtp: 250 2.6.0
Ok, id=19709-02, from MTA: 250 Ok: queued as EB718C6D53
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) prolong_timer after
forwarding: remaining time = 300 s
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) one_response_for_all
<root
lokale.domain.de>: success, dsn_needed=0, '250 2.6.0 Ok, id=19709-02,
from MTA: 250 Ok: queued as EB718C6D53'
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) warnsender_with_pass=,
dsn_needed=0, exit=0, 250 2.6.0 Ok, id=19709-02, from MTA: 250 Ok: queued as
EB718C6D53
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) sending LMTP response for
<2b0001
lokale.domain.de>: "250 2.6.0 Ok, id=19709-02, from MTA: 250 Ok:
queued as EB718C6D53"
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) timer stopped after DATA
end
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) rmdir_recursively:
/var/amavis/tmp/amavis-20040308T085313-19709/parts, excl=1
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) TIMING [total 618 ms] -
SMTP LHLO: 5 (1%), SMTP pre-MAIL: 3 (0%), SMTP pre-DATA-flush: 8 (1%), SMTP
DATA: 37 (6%), body hash: 1 (0%), mime_decode: 30 (5%), get-file-type: 23
(4%), decompose_part: 9 (1%), parts: 0 (0%), AV-scan-1: 7 (1%), SA msg read:
7 (1%), SA parse: 3 (1%), SA check: 172 (28%), fwd-connect: 52 (8%),
fwd-mail-from: 5 (1%), fwd-rcpt-to: 24 (4%), write-header: 15 (2%),
fwd-data: 1 (0%), fwd-data-end: 175 (28%), fwd-rundown: 9 (1%),
unlink-1-files: 34 (5%), rundown: 1 (0%)
Mar 8 09:03:25 mail2 amavisd[19709]: (19709-02) LMTP> 250 2.6.0 Ok,
id=19709-02, from MTA: 250 Ok: queued as EB718C6D53
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]