On 2005-05-26 abc@??? wrote:
> On Thu, 26 May 2005, Andreas Metzler wrote:
> >Use $rh_subject.
> ><http://www.exim.org/exim-html-4.50/doc/html/spec_11.html#IX830>
> Thanks... but that did not work. UTF-8 Subject lines still getting
> through.
> deny hosts = +rbl_hosts
> message = UTF-8 not allowed
> log_message = UTF-8 not allowed in subject: $h_subject
> condition = ${if match\
> {${lc:$rh_subject:}}\
> {\Nutf\-8\N}\
> {yes}{no}}
Then either these messages probably originate from hosts not on
+rbl_hosts or you are using the wron ACL.
Because your example works for me in DATA acl (without the "hosts =
+rbl_hosts"):
deny
message = UTF-8 not allowed
log_message = UTF-8 not allowed in subject: $h_subject
condition = ${if match\
{${lc:$rh_subject:}}\
{\Nutf\-8\N}\
{yes}{no}}
-----------------
ametzler@argenau:~$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 argenau.downhill.at.eu.org ESMTP Exim 4.50 Thu, 26 May 2005 16:46:26 +0200
mail from:<>
250 OK
rcpt to:eximusers@???
250 Accepted
data
354 Enter message, ending with "." on a line by itself
From: eximusers@???
To: eximusers@???
Subject: =?utf-8?B?SGkgYWdhaW4=? foo
bl
.
550 UTF-8 not allowed
-----------------
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/