Submitted by arjones85 on Sun, 04/21/2013 - 22:43
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
Submitted by andreychek on Sun, 04/21/2013 - 23:06 Comment #1
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".
Submitted by arjones85 on Sun, 04/21/2013 - 23:39 Comment #2
Thanks! I'll give that a shot. I'd recommend maybe having this as a per-user option for Usermin, would be very helpful!