Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Okay, so this is my scenario and what I want to try and do. I maintain a Red Hat email server running qmail and spamassassin. I have a domain that has well over 100 email account each with individual settings for spam scores and, whether or not to delete email incoming mail deemed spam. What I want to accomplish is to change all those email email accounts to say a more stringent spam score value, AND to enable the deletion of email immediately as it flagged as such, for EACH AND EVERY email box. In short, I want to be able to override a user's individual settings spam settings, with my own.

Short of tediously going into each and every email box one by one, is there an way to do this all in one fell swoop?

Any advice would be greatly appreciated! :-)

share|improve this question

You can override user configurations (user_prefs) with a site wide config (

share|improve this answer

I'm not sure how to do it with qmail, but it's mail delivery agent probably has filtering capabilities. I run a Courier server at home with maildrop, and maildrop's system filter tosses everything with a score over 10 in /dev/null. The user's individual settings then filter it further.

share|improve this answer

SpamAssassin does not delete mails, it only classifies them.

To delete (or reject) mails depending on that classification (even with per-user thresholds and policies) use an interface like amavisd-new.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.