Spam Clearing

4 posts / 0 new
Last post
#1 Sat, 04/19/2008 - 12:26
razmirz

Spam Clearing

I'm using Virtualmin Pro on Debian I've got spam assasin configured with Procmail All spam is delivered to the users spam folder. Now from Usermin I can setup folder clearing but this only affects one account basically I want to clear any mail from any account after 14 days. Since the spam folder is never picked up by Microsoft's SBS pop connector

Tue, 04/22/2008 - 16:29
Joe
Joe's picture

Look in the Spam and Virus Delivery page for the domain. There is an option labeled "Automatically delete spam?"

You can set this as the default option in the Server Template(s) that you use and have it applied to all new virtual servers. If you have a lot of domains to modify, you could use the command line modify-spam.pl tool to set it, something like:

modify-spam.pl --all-domains --spamclear-days 14

It currently defaults to 90 days when spam clearing is enabled.

--

Check out the forum guidelines!

Tue, 04/29/2008 - 08:06 (Reply to #2)
nihal

This command is not work on my system.
"modify-spam.pl --all-domains --spamclear-days 0"

Is that true?

Tue, 04/29/2008 - 13:54 (Reply to #3)
Joe
Joe's picture

What do you mean it doesn't work? Does it return an error? Does it not enable spam auto-deletion?

I don't think 0 makes sense in this context (and probably results in disabling the feature). If you want it deleted immediately just enable --spam-delete-level feature and set a value for deletion (5, for example).

--

Check out the forum guidelines!

Topic locked