2014-10-23 22:31:40 -05:00
|
|
|
# Turn on debug mode in Amavisd and SpamAssassin
|
2014-09-22 21:47:49 -05:00
|
|
|
|
2015-08-26 22:11:32 -05:00
|
|
|
In [Amavisd config file](./file.locations.html#amavisd), change `$log_level`,
|
|
|
|
then restart amavis service.
|
2014-09-22 21:47:49 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
$log_level = 5; # verbosity 0..5, -d
|
|
|
|
```
|
|
|
|
|
|
|
|
If you want to debug SpamAssassin, please update `$sa_debug` also:
|
|
|
|
|
|
|
|
```
|
|
|
|
$sa_debug = 1;
|
|
|
|
```
|
2015-08-26 22:11:32 -05:00
|
|
|
|
|
|
|
Amavisd is configured by iRedMail to log to [Postfix log file](./file.locations.html#postfix).
|