Francisco wrote:

> Hello Folks:

> I just noticed on my system that there are millions of messages in
> /var/amavisd/quarantine amounting to about 14G and that there thousands
> in /var/amavisd/tmp amounting to about 4g.

> I am not using amavisd for virus scanning at the time being I am just
> using it along with postfix + spamassasin to block out spam. on my
> /etc/amavisd.conf I have set the $final_spam_destiny flag to D_PASS I
> just mark the message with ***POSSIBLE SPAM*** in the subject. I was
> under the understanding that messages only ended up in the quarantine
> directory if the flag was set to D_REJECT. So why is this happening? And
> even if it was the case that they are supposed to end up in the
> quarantine anyways isn't the cleanup agent supposed to clean them out
> after they get to be like a week old or so?

> Any help at all would be appreciated thanx!

> Francisco

Spam is quarantined at kill_level (even when mail is passed, a copy will
go there if the message scores at or above kill_level). To avoid a
copy going to quarantine you can either raise kill_level to some very
high value:
$sa_kill_level_deflt = 9999;

or disable spam quarantine:
$spam_quarantine_to = undef;

A large number of leftover amavis directories in /var/amavisd/tmp
may indicate a problem that requires further investigation. See:
http://www.ijs.si/software/amavisd/#faq-gen

Amavisd-new has no built in mechanism to remove files in a local
quarantine. It is up to you to maintain the quarantined items.

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