Matt wrote:

> I have an amavis problem that's driving me nuts.

> Spam is being identified in the logs appropriately, but amavis still
> passes it, so I get a copy sent to the spam quarantine address, but also
>  the original message is delivered without any headers added or the
> subject altered.

> The setup is freebsd, most current amavisd-new, current postfix. Once
> postfix is done with the messages it forwards to a qmail instance on the
> same box for local delivery.

> Relevant amavis config entries:

> @local_domains_maps = (  <set to my domains

> $final_virus_destiny      = D_DISCARD;
> $final_banned_destiny     = D_BOUNCE;
> $final_spam_destiny       = D_DISCARD;
> $final_bad_header_destiny = D_PASS;

> $spam_quarantine_to      = '[EMAIL PROTECTED]';

It would be more correct to say:
$spam_quarantine_to      = '[EMAIL PROTECTED]';
where mydomain.com is a real domain name and not the scalar $mydomain

> @spam_lovers_maps = ( '[EMAIL PROTECTED]' );

Your syntax is wrong here and because of this everyone is a spam_lovers.
I can't think of a reason to make a spam quarantine email address a
spam_lovers, so I think you simply need to get id of this, but if you
insist, this will make all the difference in the world:

@spam_lovers_maps = ( ['[EMAIL PROTECTED]', ], );

where mydomain.com is a real domain name and not the scalar $mydomain

> $sa_spam_modifies_subj = 'true';

> $sa_tag_level_deflt  = 1.0;
> #$sa_tag2_level_deflt = 2.0;
> $sa_kill_level_deflt = 2.4;

wow, that's low

> $sa_dsn_cutoff_level = 3;
> $sa_quarantine_cutoff_level = 200;

> So a copy goes to the quarantine address, [EMAIL PROTECTED] But the
> unaltered original is also delivered. Quite frustrating.

> Any ideas on where I could look to fix this?

Just in case you are not aware, single and double quotes have
different meaning in Perl:
http://www.dummies.com/WileyCDA/DummiesArticle/id-254,subcat-PROGRAMMING.html

Gary V


-------------------------------------------------------------------------
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/

Reply via email to