Benedict wrote: > I use postfix. > I have retrieved the mails which have all the header info in them that is not > in the original is: > Delivered-To: virus-quarantine > apart from that the to and X-Envelope-To are all as they should be. > So what I really need to do is feed them back to postfix, The question is how.
<...> zcat -f banned-JiuJI9-2Ks7N | sendmail [EMAIL PROTECTED] zcat -f spam-Wz70qOWd52u8.gz | sendmail [EMAIL PROTECTED] zcat -f virus-26nLLQwZZdXc | sendmail [EMAIL PROTECTED] zcat -f spam-nVNUTl49Dwek.gz | sendmail [EMAIL PROTECTED] zcat -f spam-n3IthmkD3UFR.gz | sendmail [EMAIL PROTECTED] <...> Sendmail here is the sendmail replacement binary that is supplied with Postfix. Or, install webmin, and then install and configure the clamav module. This will provide a graphical interface to spam and virus quarantines (but you will still have to resend banned files manually). It will allow you to select by date. http://wbmclamav.labs.libre-entreprise.org/ If you install webmin, edit the allow= variable in miniserv.conf to allow your IP address to connect to the server. > Also if anyone knows how to cp files from today only that would be handy. > Does the delivered to need to be removed? I don't think so. > Kind regards > Benedict White > [EMAIL PROTECTED] > Computer Systems Engineering Ltd > tel (44) 1444 441351 > fax (44) 1444 441414 >>>> Gary V <[EMAIL PROTECTED]> 08/02/05 07:05pm >>> > Benedict wrote: >> I had a problem with clamav failing so leading to all mails being >> quarantined from 11 today. >> Is there an easy way to release them all, and get them rescanned if >> possible. (If not they can be scanned elsewhere) >> I am using an old version of amavisd that has been patched. >> Kind regards >> Benedict White > One way to do it might be: > download and install mini_sendmail from: > http://www.acme.com/software/mini_sendmail/ > cd /path/to/quarantine > zcat -f virus-5cayrWf0uy1Q | mini_sendmail [EMAIL PROTECTED] [EMAIL > PROTECTED] > for example. > You would have to edit each one to find out who the recipient is. > It's best to use X-Envelope-To: > If every mail contains X-Envelope-To:, you could: > zgrep X-Envelope-To: * > You could also use the X-Envelope-From: address in the -f parameter > for mini_sendmail if desired. > Also, many of the items may end up back in the quarantine, > so you would have to be careful to only send stuff within > the appropriate time period. > If you use Postfix, and you want this stuff scanned, make > sure you do not have: > -o content_filter= > after the 'pickup' service. > Gary V Gary V ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ 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/