Univention Bugzilla – Attachment 7023 Details for
Bug 38915
Spam statistics fail due to outdated logging template of amavis
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff of patch proposal. removes $log_templ and adds UCRV mail/amavis/debug/level
amavisd-new.patch (text/plain), 2.71 KB, created by
Michael Grandjean
on 2015-07-13 21:27:33 CEST
(
hide
)
Description:
svn diff of patch proposal. removes $log_templ and adds UCRV mail/amavis/debug/level
Filename:
MIME Type:
Creator:
Michael Grandjean
Created:
2015-07-13 21:27:33 CEST
Size:
2.71 KB
patch
obsolete
>Index: conffiles/etc/amavis/conf.d/60-univention >=================================================================== >--- conffiles/etc/amavis/conf.d/60-univention (Revision 62085) >+++ conffiles/etc/amavis/conf.d/60-univention (Arbeitskopie) >@@ -303,20 +303,19 @@ > # 5: more debug details > #$log_level = 2; # (defaults to 0) > >+@!@ >+if configRegistry.get('mail/amavis/debug/level'): >+ print "$log_level = '%s';" % configRegistry['mail/amavis/debug/level'] >+@!@ >+ > # Customizable template for the most interesting log file entry (e.g. with > # $log_level=0) (take care to properly quote Perl special characters like '\') > # For a list of available macros see README.customize . > >-# only log infected messages (useful with log level 0): >-# $log_templ = '[? %#V |[? %#F ||banned filename ([%F|,])]|infected ([%V|,])]# >-# [? %#V |[? %#F ||, from=[?%o|(?)|<%o>], to=[<%R>|,][? %i ||, quarantine %i]]# >-# |, from=[?%o|(?)|<%o>], to=[<%R>|,][? %i ||, quarantine %i]]'; >+# We rely on the built-in log template for now. >+# If needed, a custom log template can be specified via >+# $log_templ = > >-# log both infected and noninfected messages (default): >-$log_templ = '[? %#V |[? %#F |[?%#D|Not-Delivered|Passed]|BANNED name/type (%F)]|INFECTED (%V)], # >-[?%o|(?)|<%o>] -> [<%R>|,][? %i ||, quarantine %i], Message-ID: %m, Hits: %c'; >- >- > # > # Section IV - Notifications/DSN, BOUNCE/REJECT/DROP/PASS destiny, quarantine > # >Index: debian/univention-antivir-mail.univention-config-registry >=================================================================== >--- debian/univention-antivir-mail.univention-config-registry (Revision 62085) >+++ debian/univention-antivir-mail.univention-config-registry (Arbeitskopie) >@@ -15,6 +15,7 @@ > Variables: mail/antivir/banned/mime_type > Variables: mail/antivir/banned/rfc2046 > Variables: mail/antispam/headertag >+Variables: mail/amavis/debug/level > > Type: file > File: etc/amavis/conf.d/15-content_filter_mode >Index: debian/univention-antivir-mail.univention-config-registry-variables >=================================================================== >--- debian/univention-antivir-mail.univention-config-registry-variables (Revision 62085) >+++ debian/univention-antivir-mail.univention-config-registry-variables (Arbeitskopie) >@@ -57,3 +57,9 @@ > Description[en]=String to prepend to subject header field for SPAM messages. If the variable is unset, the subject is not modified. > Type=str > Categories=service-mail >+ >+[mail/amavis/debug/level] >+Description[de]=Log Level für amavisd-new. Mögliche Werte sind 0 bis 5. Ist die Variable nicht gesetzt, wird der Defaultwert von 0 verwendet. >+Description[en]=Log level for amavisd-new. Possible values are 0 to 5. If the variable is unset, the default value of 0 is used. >+Type=int >+Categories=service-mail
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38915
: 7023