On Sun, 1 Oct 2006, Werner Schalk wrote:

> Hi,
>
> thanks for all the replys so far. I have made a huge progress so far with only
> 4000 mails left. I tried the script posted on the list as well as the Perl
> one-liner but now I am getting this error message (dozens of times) when
> running amavisd-release:
>
> 450 4.5.0 Failure: SQL quarantine code not enabled at (eval 54) line 290,
> <GEN5> line 4.
>
> Any ideas what could cause this?

The precondition that the one-liner script work on my side is that my mail 
log is in MySQL. I modified it a little bit for your case you case, tested 
working on my side :)

perl -e 'opendir(my $dir, "/var/amavis/quarantine");\
print "$_\n" for  grep { /^spam/}  readdir($dir); ' | amavisd-release -

It will release all the spam.

>
> @Gary: How would I have to modify your script if I would like to run it for on
> all spam-* messages?
>
> Thank you.
>
> Best regards,
> Werner
>
> -------------------------------------------------------------------------
> 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/

Reply via email to