Herbert,

> I've updated amavisd-new from the FreeBSD ports and during the
> installation my amavisd.conf got overwritten.:-(
> After restoring the file from an old backup I have a tiny problem.
> 
> When I add the following two lines
> $quarantine_method_by_ccat{+CC_SPAMMY} = \...@spam_quarantine_to_maps;
> $final_destiny_by_ccat{+CC_SPAMMY} = $final_spam_destiny;
> 
> I get an error:
> Sep 15 22:24:02 amavis amavis[80959]: (80959-01) (!!)TROUBLE in
> check_mail: quar+notif FAILED: Explicit forwarding,
> but not all recips done at /usr/local/sbin/amavisd line 4142.
> Sep 15 22:24:02 amavis amavis[80959]: (80959-01) (!)PRESERVING
> EVIDENCE in /var/amavis/tmp/amavis-20090915T222357-80959
> 
> Not all mails are affected.
> Any idea how to fix this? What am I missing?

The $quarantine_method_by_ccat entries are not *_maps
lists, because this is not a per-recipient setting - unlike 
%quarantine_to_maps_by_ccat, which *is* a per-recipient map.

You probably meant:

$quarantine_method_by_ccat{+CC_SPAMMY} = $spam_quarantine_method;
$quarantine_to_maps_by_ccat{+CC_SPAMMY} = \...@spam_quarantine_to_maps;

Btw, seems you want to treat CC_SPAMMY (tag2_level) the same as
CC_SPAM (kill_level). So why not just make tag2_level the same as kill_level?

  Mark

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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