At Wed, 16 Sep 2009 15:57:58 +0200,
Mark Martinec wrote:
>
> 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
Hi Mark!
Thanks a lot! It's working again.
I want amavis to deliver SPAMMY mails to the user's mailbox and
put them into the spam quarantine.
- Herbert
------------------------------------------------------------------------------
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
[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/