fredag, september 22, 2006

amavisd-release

To release a file from quarantine, use the amavisd-release program. I could not find this on my ubuntu machine where I installed amavisd-new with apt-get. So I copied the amavisd-release program from the original amavis package and put it in /usr/sbin/

Then I added to the 50-user file: (The newest ubuntu uses a conf.d/ for the amavisd-new settings files. Most others distros use amavisd.conf

$interface_policy{'SOCK'} = 'AM.PDP';
$policy_bank{'AM.PDP'} = {protocol=>'AM.PDP'};
$unix_socketname='/var/amavis/amavisd.sock';

I restarted amavis, and typed the following:

amavisd-release mail_id secret_id

and it WORKED!

I use mysql for quarantine storage, but this should work with regular file quarantine too.

Amazing.

0 Comments:

Post a Comment

<< Home