I've tried everything I can to get the transfilter to drop/discard mail where Subject line (but ideally, the entire message header, because RFC 2821 says it's illegal) contains any eight-bit data. There's no Posix-style regex use of the ~ character to mean "Not a member of character group", because otherwise it'd've been dead easy, something like "S, "*[^<tab><space>-~]*", R, "250 Okay trash discarded successfully."" in transflt.mer. And inverting the operation using the S character won't help, because that produces a logical failure (just think about it for a moment and you'll get it eventually, took me a while). And, you can't directly enter raw characters using alt+numberpad in notepad, because it doesn't work (tried range 128-255, which should all be single-byte characters).
Has *anybody* got any ideas? I want to get rid of these useless Korean/Chinese-language spams even before core *sees* them, and I'm so close it's painful! And, when you're running Mercury as a relay honeypot, that's particularly helpful.
Cheers,
Sabahattin
<P>I've tried everything I can to get the transfilter to drop/discard mail where Subject line (but ideally, the entire message header, because RFC 2821 says it's illegal) contains any eight-bit data.&nbsp; There's no Posix-style regex use of the ~ character to mean "Not a member of character group", because otherwise it'd've been dead easy, something like "S, "*[^&lt;tab&gt;&lt;space&gt;-~]*", R, "250 Okay trash discarded successfully."" in transflt.mer.&nbsp; And inverting the operation using the S character won't help, because that produces a logical failure (just think about it for a moment and you'll get it eventually, took me a while).&nbsp; And, you can't directly enter raw characters using alt+numberpad in notepad, because it doesn't work (tried range 128-255, which should all be single-byte characters).</P>
<P mce_keep="true">&nbsp;</P>
<P>Has *anybody* got any ideas?&nbsp; I want to get rid of these useless Korean/Chinese-language spams even before core *sees* them, and I'm so close it's painful!&nbsp; And, when you're running Mercury as a relay honeypot, that's particularly helpful.</P>
<P mce_keep="true">&nbsp;</P>
<P>Cheers,</P>
<P>Sabahattin</P>
<P mce_keep="true">&nbsp;</P>