Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.