Problem with spam quarantine

Nikolaos Milas nmilas at noa.gr
Thu Aug 30 16:38:27 CEST 2012


On 30/8/2012 5:18 μμ, Mark Martinec wrote:

> Set it to:
>    $QUARANTINEDIR = '/var/blockedmail';

Thanks Mark, it worked!

/var/blockedmail/ must be writable by amavis. If not, it causes a server 
breakdown; /var/log/amavisd.log:

Aug 30 17:25:30 mailgw2 amavis[3987]: (!!)TROUBLE in pre_loop_hook: 
QUARANTINEDIR directory not writable: /var/blockedmail at 
/usr/sbin/amavisd line 7516.

# service amavisd restart
Shutting down amavisd: The amavisd daemon is not running
[FAILED]

Starting amavisd: Pid_file "/var/run/amavisd/amavisd.pid" already 
exists. Overwriting!
[ OK ]

But when /var/blockedmail/ is writable, then everything runs OK!

By the way, can I configure amavisd so as to quarantine spam only if 
score (X-Spam-Score) is higher than a value (rather than always)?

Thanks again!
Nick


More information about the amavis-users mailing list