Re[3]: X-SA-Do-Not-Rej

Christian Stuellenberg <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
>>>>> "Stefen" == Dickenson, Steven <[email protected]> writes:
Hello,

    >> What about a mail that already comes with an header
    >> X-SA-Do-Not-Rej: Yes

    Stefen> This easiest way to solve this problem is to get
    Stefen> X-SA-Do-Not-Rej to some unique value for your site, and
    Stefen> then check if it's set to that value.  For example, my ACL
    Stefen> in Exim could look like this...

    Stefen>   # Don't reject messages for postmaster warn message =
    Stefen> X-SA-Do-Not-Rej: Beeblebrox local_parts = postmaster

    Stefen> I would then check for that in the condition in
    Stefen> sa-exim.conf

    Stefen>   SAEximRejCond: $(if !eq
    Stefen> ($h_X-SA-Do-Not-Rej:}{Beeblebrox} {1}{0}}

    Stefen> Just remember to strip these headers for any messages
    Stefen> leaving your site.  You can do this in a remote_smtp
    Stefen> transport like so...

    Stefen>   # This line strips the SA-Exim headers from outgoing
    Stefen> messages, # so that clever spammers can't figure out how
    Stefen> to get around # SpamAssassin.  headers_remove =
    Stefen> "X-SA-Do-Not-Rej:X-SA-Do-Not-Run:X-SA-Exim-Scanned"

That's what I was missing.
Thnx.

Christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.