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

Is there a way to tell Spamassassin to skip a mail, in case a certain header is present, so it leads to an unmodified output of the original mail? So that no Spamassassin-Headers are added, no Bayesian learning is done, etc. Just completely ignore it and return it like that when sent through Spamassassin.

share|improve this question

I don't know if there is a way to do that in Spamassassin. You can, however, first pass the mail to a separate filter which can check for that header and then either pass the mail to Spamassasin or do a clean passthrough if the header is not present.

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.