This tutorial is available in other languages

简体中文 /

Turn on debug mode in Amavisd and SpamAssassin

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;

Amavisd is configured by iRedMail to log to Postfix log file.

All documents are available in BitBucket repository, and published under Creative Commons license. You can download the latest version for offline reading. If you found something wrong, please do contact us to fix it.