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

Christian Stuellenberg christian_stuellenberg at web.de
Fri Aug 15 07:57:22 PDT 2003


>>>>> "Stefen" == Dickenson, Steven <sdickenson at keyschool.org> 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




More information about the SA-Exim mailing list