Gary,

> I tested a few things and failed to find any issues.

Good.

> I found it interesting however that it appears %virus_admin requires the
> full recipient email address on the Left Hand Side:
> read_hash(\%virus_admin, '/var/lib/amavis/virus_admin');
> contents of /var/lib/amavis/virus_admin:
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED] [EMAIL PROTECTED]

But you did find an issue, nice catch!
Too eager parsing in read_hash, here is a fix:

--- amavisd~    Fri Mar 17 13:20:25 2006
+++ amavisd     Fri Mar 17 20:11:32 2006
@@ -1967,3 +1967,2 @@
                       Amavis::rfc2821_2822_Tools::parse_quoted_rfc2821($lhs,1);
-    $domain = '@'  if $domain eq '' && $localpart ne '';
     $localpart = lc($localpart)  if !$lpcs;


Mark


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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