Amavisd question

Alan Davies via amavis-users amavis-users at
Tue Sep 3 18:27:19 CEST 2013

Hi Benedict,

I have been using the default methods (on the default page on github that's local:xyz ?) there's plenty of spam going into the local directory of /var/virusmails. I didn't want to use sql quarantine with blob as the mysql server is fairly loaded with 1000+ computers connected! (upgrades are in the pipeline)

I've defined a $notify_method = smtp:[127... as defined in the default config file. After running a postfix flush this appears to have cleared the entire queue bar a few that have no real domain name and one or two which still have the same error quar+notif failed no protocol name 0. So there must be another setting I need to define somewhere. 
I'll implement your suggestions and define everything. 

Many thanks for you help by the way, i'm fairly new to amavis as you can see! 


Alan Davies
Business Support 

ITCS - IT Computer Services
Bridgend Ind Estate
CF31 3TP 

Tel:   08456 444 200
Fax:  01656 660 016 

-----Original Message-----
From: Benedict White [mailto:Benedict.White at] 
Sent: 03 September 2013 17:17
To: Alan Davies; amavis-users at
Subject: RE: Amavisd question

-----Original Message-----
From: Alan Davies [mailto:adavies at]
Sent: 03 September 2013 17:08
To: Benedict White; amavis-users at
Subject: RE: Amavisd question

>Hi Benedict,
>I've checked my spam destination settings and grep output, without comments is as follows:
>[root at spam log]# grep --ignore-case quarantine /etc/amavisd.conf | grep -v '#'
>$QUARANTINEDIR = "/var/virusmails";
 >$bad_header_quarantine_method = D_DISCARD;
>    "-a s --timeout=60 --temp=$TEMPBASE -y $QUARANTINEDIR ".  <<< (this 
> is under virus scanners)
>I haven't specified any of the other options for bad header quarantine method, etc. 
>Should I defined these explicitly? 

You don't appear to have a $spam_quarantine_method or indeed any quarantine methods.

If I : grep quarantine_method amavisd.conf | grep -v '#'

I get:

$virus_quarantine_method        = 'sql:';
$spam_quarantine_method         = 'sql:';
$bad_header_quarantine_method   = 'sql:';

You do need something for those as far as I'm aware, you need something there, though there are default values, they rely on using the home directory (for example $MYHOME = '/var/spool/amavis'). The QUARANTINEDIR seems to be for virus emails only. 

Kindest regards,

Benedict White

More information about the amavis-users mailing list