<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="DejaVu Sans" size="-1">Hallo,<br>
<br>
On 01/11/11 21:12, Florian Kaiser wrote:</font>
<blockquote cite="mid:149895AB0119486AA80A0206D6ED9CF8@florian"
type="cite">
<pre wrap=""><font face="DejaVu Sans" size="-1">Hallo Liste,
entweder habe ich Tomaten auf den Augen oder Google bringt hier echt nur
Mist:
Wie kann ich amavisd-new dazu bringen, alle Rules vom Spamassassin, die
gematcht haben zu loggen? Ich möchte keinen Debug-Output wie Timing-Stats
oder sowas, nur eine Zeile wie "Rules hit:
HTML_IMAGE_ONLY_12,HTML_MESSAGE,RP_MATCHES_RCVD" oder ähnliches. Das muss
doch mit amavisd-new möglich sein.
Viele Dank für eine Info.
</font></pre>
</blockquote>
Wie wäre es mit<br>
<br>
<br>
# log both infected and noninfected messages (as deflt, with
size,subj,tests):<br>
# (remove the leading '#' and a space in the following lines to
activate)<br>
$log_templ = <<'EOD';<br>
[?%#D|#|Passed #<br>
[? [:ccat|major]
|OTHER|CLEAN|MTA-BLOCKED|OVERSIZED|BAD-HEADER|SPAMMY|SPAM|\<br>
UNCHECKED|BANNED (%F)|INFECTED (%V)]#<br>
, [? %p ||%p ][?%a||[?%l||LOCAL ]\[%a\] ][?%e||\[%e\] ]%s ->
[%D|,]#<br>
[? %q ||, quarantine: %q]#<br>
[? %Q ||, Queue-ID: %Q]#<br>
[? %m ||, Message-ID: %m]#<br>
[? %r ||, Resent-Message-ID: %r]#<br>
, mail_id: %i#<br>
, Hits: [:SCORE]#<br>
, size: %z#<br>
[~[:remote_mta_smtp_response]|["^$"]||[", queued_as: "]]\<br>
[remote_mta_smtp_response|[~%x|["queued as
([0-9A-Z]+)$"]|["%1"]|["%0"]]|/]#<br>
[? [:header_field|Subject] ||, Subject:
[:dquote|[:header_field|Subject]]]#<br>
[? [:header_field|From] ||, From:
[:uquote|[:header_field|From]]]#<br>
[? [:useragent|name] ||, [:useragent|name]:
[:uquote|[:useragent|body]]]#<br>
[? %#T ||, Tests: \[[%T|,]\]]#<br>
[:supplementary_info|SCTYPE|, shortcircuit=%%s]#<br>
[:supplementary_info|AUTOLEARN|, autolearn=%%s]#<br>
, %y ms#<br>
]<br>
[?%#O|#|Blocked #<br>
[? [:ccat|major|blocking] |#<br>
OTHER|CLEAN|MTA-BLOCKED|OVERSIZED|BAD-HEADER|SPAMMY|SPAM|\<br>
UNCHECKED|BANNED (%F)|INFECTED (%V)]#<br>
, [? %p ||%p ][?%a||[?%l||LOCAL ]\[%a\] ][?%e||\[%e\] ]%s ->
[%O|,]#<br>
[? %q ||, quarantine: %q]#<br>
[? %Q ||, Queue-ID: %Q]#<br>
[? %m ||, Message-ID: %m]#<br>
[? %r ||, Resent-Message-ID: %r]#<br>
, mail_id: %i#<br>
, Hits: [:SCORE]#<br>
, size: %z#<br>
#, smtp_resp: [:smtp_response]#<br>
[? [:header_field|Subject] ||, Subject:
[:dquote|[:header_field|Subject]]]#<br>
[? [:header_field|From] ||, From:
[:uquote|[:header_field|From]]]#<br>
[? [:useragent|name] ||, [:useragent|name]:
[:uquote|[:useragent|body]]]#<br>
[? %#T ||, Tests: \[[%T|,]\]]#<br>
[:supplementary_info|SCTYPE|, shortcircuit=%%s]#<br>
[:supplementary_info|AUTOLEARN|, autolearn=%%s]#<br>
, %y ms#<br>
]<br>
EOD<br>
<br>
<br>
<br>
<blockquote cite="mid:149895AB0119486AA80A0206D6ED9CF8@florian"
type="cite">
<pre wrap=""><font face="DejaVu Sans" size="-1">
Grüße
Florian
</font></pre>
</blockquote>
<font face="DejaVu Sans" size="-1">Gruß<br>
Michael<br>
</font>
<pre class="moz-signature" cols="72"><font face="DejaVu Sans" size="-1">--
Dipl.-Math. Michael Reincke
System Services
ATLAS ELEKTRONIK GmbH
Sebaldsbruecker Heerstrasse 235
28309 BREMEN
GERMANY
Telefon / Phone +49 (0)421 457-2302
Telefax / Fax +49 (0)421 457-2977
<a class="moz-txt-link-abbreviated" href="mailto:michael.reincke@atlas-elektronik.com">michael.reincke@atlas-elektronik.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.atlas-elektronik.com">www.atlas-elektronik.com</a>
Geschäftsführung / Management Board:
Dieter Rottsieper (Vorsitz / Chairman), Volker Paltzo
Vorsitzender des Aufsichtsrats / Chairman Supervisory Board: Dr. Stefan Zoller
Sitz der Gesellschaft / Registered Office: Bremen
Register / Commercial Register: Amtsgericht Bremen, HRB 21570
</font></pre>
</body>
</html>