Re: [AMaViS-user] Re-queueing of mails

This is a discussion on Re: [AMaViS-user] Re-queueing of mails within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Werner, > I have made a configuration mistake and amavis (amavisd-new-2.4.1 on > Gentoo) stored about ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-30-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Re-queueing of mails

Werner,

> I have made a configuration mistake and amavis (amavisd-new-2.4.1 on
> Gentoo) stored about 10000 mails it identified as spam etc. in
> /var/amavis/quarantine (e.g. as spam-aUJwqQxcI+xl.gz). Now I corrected my
> amavis configuration to pass all spam etc. to the client to do the
> filtering but the question now is: How do I get these mails back into the
> Postfix queue so that they will be delivered to the original recipient?


You'll have to collect the quarantine IDs (e.g. spam-aUJwqQxcI+xl.gz,
exactly as reported in the log - or in SQL log if you have it.
A Perl or awk one-liner would do.

Then you can feed the list, one id per line, to amavisd-release.
It reads IDs from stdin when given a '-' as its only argument:

Usage: $ amavisd-release mail_file [secret_id [alt_recip1 alt_recip2 ...]]
or to read request lines from stdin: $ amavisd-release -

The secret_id is optional if you have:
$auth_required_release = 0;
in amavisd.conf.

Mark

-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0