From 46f7372a05af3ba043bdeeaa644208c13e412683 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 27 Aug 2015 11:11:32 +0800 Subject: [PATCH] Mention amavisd config file and log file in en_US/troubleshooting/debug.amavisd.md. --- en_US/troubleshooting/debug.amavisd.md | 5 +++- html/debug.amavisd.html | 7 ++++-- html/zh_CN/debug.amavisd.html | 32 ++++++++++++++++++++++++++ html/zh_CN/index.html | 1 + zh_CN/troubleshooting/debug.amavisd.md | 16 +++++++++++++ 5 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 html/zh_CN/debug.amavisd.html create mode 100644 zh_CN/troubleshooting/debug.amavisd.md diff --git a/en_US/troubleshooting/debug.amavisd.md b/en_US/troubleshooting/debug.amavisd.md index 44b892e2..3c071a5c 100644 --- a/en_US/troubleshooting/debug.amavisd.md +++ b/en_US/troubleshooting/debug.amavisd.md @@ -1,6 +1,7 @@ # Turn on debug mode in Amavisd and SpamAssassin -In Amavisd config file `/etc/amavisd/amavisd.conf`, change `$log_level`, then restart amavis service. +In [Amavisd config file](./file.locations.html#amavisd), change `$log_level`, +then restart amavis service. ``` $log_level = 5; # verbosity 0..5, -d @@ -11,3 +12,5 @@ If you want to debug SpamAssassin, please update `$sa_debug` also: ``` $sa_debug = 1; ``` + +Amavisd is configured by iRedMail to log to [Postfix log file](./file.locations.html#postfix). diff --git a/html/debug.amavisd.html b/html/debug.amavisd.html index a9d22b56..f4b23173 100644 --- a/html/debug.amavisd.html +++ b/html/debug.amavisd.html @@ -11,13 +11,16 @@ // Document Index

Turn on debug mode in Amavisd and SpamAssassin

-

In Amavisd config file /etc/amavisd/amavisd.conf, change $log_level, then restart amavis service.

+

In Amavisd config file, change $log_level, +then restart amavis service.

$log_level = 5;              # verbosity 0..5, -d
 

If you want to debug SpamAssassin, please update $sa_debug also:

$sa_debug = 1;
-

Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it. + \ No newline at end of file diff --git a/html/zh_CN/index.html b/html/zh_CN/index.html index 808cecf3..6002b72c 100644 --- a/html/zh_CN/index.html +++ b/html/zh_CN/index.html @@ -28,6 +28,7 @@

排错与调试

Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it.