On Sun, 1 Oct 2006, Vincent Li wrote: > On Sun, 1 Oct 2006, Werner Schalk wrote: > >> Hi, >> >> hhhmm, this is strange. In a bash shell I get: > ......snip... >> >> This is not correct, the directory /var/amavis/quarantine is full of messages >> like spam-XXXXXXX.gz. So how do I have to quote it to get this to work? >> >
If you use following configuration in amavisd.conf ------------- $policy_bank{'AM.PDP-SOCK'} = { protocol => 'AM.PDP', # Amavis policy delegation protocol auth_required_release => 0, # don't require secret_id for amavisd-release }; $interface_policy{'SOCK'} = 'AM.PDP-SOCK'; ----------------- this one-linger should be able to release all the spam qurantine perl -e 'opendir(my $dir, "/var/amavis/quarantine"); \ print "$_\n" for map { /spam-(.*?)\.gz/ } readdir($dir); ' | amavisd-release - > >> Thank you. >> >> Bye, >> Werner >> >> ------------------------------------------------------------------------- >> > > Vincent Li http://pingpongit.homelinux.com > Opensource .Implementation. .Consulting. > Platform .Fedora. .Debian. .Mac OS X. > Blog http://bl0g.blogdns.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ > Vincent Li http://pingpongit.homelinux.com Opensource .Implementation. .Consulting. Platform .Fedora. .Debian. .Mac OS X. Blog http://bl0g.blogdns.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/