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! Cheers, Alan Davies Business Support ITCS - IT Computer Services Bridgend Ind Estate Bridgend CF31 3TP www.itcs.co.uk Tel: 08456 444 200 Fax: 01656 660 016 -----Original Message----- From: Benedict White [mailto:[email protected]] Sent: 03 September 2013 17:17 To: Alan Davies; [email protected] Subject: RE: Amavisd question -----Original Message----- From: Alan Davies [mailto:[email protected]] Sent: 03 September 2013 17:08 To: Benedict White; [email protected] Subject: RE: Amavisd question >Hi Benedict, > >I've checked my spam destination settings and grep output, without comments is >as follows: > >[root@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
