> Ok, the parsing in amavisd-release was only tested with the default
> setting, and did not take into account quarantine ID's with body hashes.
> Please try the attached patch to amavisd-release (I hope it survives the
> mailing list).
Apperently it didn't survive, here it is in-line:
--- amavisd-release.ori Fri May 27 20:26:40 2005
+++ amavisd-release Wed Feb 14 14:17:10 2007
@@ -143,8 +143,7 @@
sub release_file($$$@) {
my($sock,$mail_file,$secret_id,@alt_recips) = @_;
- $mail_file =~ m{^ ([^/].+/)? ([A-Z0-9_-]*)
- ([A-Z0-9][A-Z0-9+-]{10}[A-Z0-9]) (\.gz)? \z}xsi
+ $mail_file =~ m{^ ([^/].*/)? ([A-Za-z0-9$._=+-]+?) (\.gz)? \z}xs
or die "Invalid quarantine file name: $mail_file";
- my($fn_path,$fn_prefix,$mail_id,$fn_suffix) = ($1,$2,$3,$4);
+ my($fn_path,$mail_id,$fn_suffix) = ($1,$2,$3);
my($quar_type) =
$fn_suffix eq '.gz' ? 'Z' : $mail_id eq $mail_file ? 'Q' : 'F';
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?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/