Delete spam over a certain score on a per-user basis?

Hi,

I am not seeing the option to delete spam detected over a certain score on a per-user basis, only on a per-domain basis. Is this available? If not, might be a good feature to have!

Status: 
Active

Comments

Howdy -- yeah, that's only a per-domain setting, there isn't a way to set that per-user within Virtualmin.

However, you could manually setup a .procmailrc rule for a given user which is processed after the domain-wide settings, which could delete email with certain criteria.

To do that, you could create a .procmailrc like the following:

:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*
/dev/null

SpamAssassin adds one asterisk to the X-Spam-Status for each spam level... so the above means that it'll delete email where SpamAssassin tagged it as a "12".

Thanks! I'll give that a shot. I'd recommend maybe having this as a per-user option for Usermin, would be very helpful!