[Mimedefang] Add Hebrew Support

rrr rrr at superior.co.il
Thu Jun 17 11:58:07 EDT 2004


Hello all,
I installed RH 9 (with Hebrew support) + Sendmail + MIMEdefang +
Spamassassin as Spam-Filter Relay server and it's work fine.
Every mail that have Hebrew subject the MIMEdefang tag it as SPAM email, the
worst thing it's that the MIMEdefang change the hebrew characters in the
subject to something like this:

 ÿFFFFF2ÿFFFFF8ÿFFFFE5ÿFFFFF5 ÿFFFFE4ÿFFFFE7ÿFFFFE9ÿFFFFE9ÿFFFFED
ÿFFFFE4ÿFFFFE8ÿFFFFE5ÿFFFFE1ÿFFFFE9ÿ  *** SPAM ***

the  *** SPAM *** is done by adding the line action_change_header("Subject",
"$Subject  *** SPAM ***"); in the mimedefang-filter file.
If I remove this line from mimedefang-filter I get the Hebrew characters
good, but I'm still getting this line in /var/log/maillog:
Character in "c"  format wrapped at /usr/bin/mimedefang.pl line 158, <IN>
line 16.
And I'm really need to change the subject to add some SPAM text.

Here is my /etc/sysconfig/i18n file:

LANG="en_US"
SUPPORTED="en_US.UTF-8:en_US:en:he_IL.utf8:he_IL:he:he_IL.ISO-8859-8:hebrew:
he_I
L.UTF-8"
SYSFONT="latarcyrheb-sun16"

I tried to change LANG to LANG="he_IL" but the same.


Here is my /var/log/maillog:

tail /var/log/maillog 

Jun 17 18:00:51 spamsrv sendmail[2078]: i5HF0pc5002078:
from=<chuco at walla.co.il>
, size=3176, class=0, nrcpts=1,
msgid=<200406171439.i5HEdLa11245 at omail2.walla.co
.il>, bodytype=8BITMIME, proto=SMTP, daemon=MTA, relay=[192.168.160.2]
Jun 17 18:00:51 spamsrv mimedefang-multiplexor: Slave 0 stderr: Character in
"c"
 format wrapped at /usr/bin/mimedefang.pl line 158, <IN> line 16. Character
in "
c" format wrapped at /usr/bin/mimedefang.pl line 158, <IN> line 16.
Character in
 "c" format wrapped at /usr/bin/mimedefang.pl line 158, <IN> line 16.
Character 
in "c" format wrapped at /usr/bin/mimedefang.pl line 158, <IN> line 16.
Characte
r in "c" format wrapped at /usr/bin/mimedefang.pl line 158, <IN> line 16.
Charac
ter in "c" format wrapped at /usr/bin/mimedefang.pl line 158, <IN> line 16.
Char
acter in "c" fo
Jun 17 18:00:51 spamsrv mimedefang-multiplexor: Slave 0 stderr: rmat wrapped
at 
/usr/bin/mimedefang.pl line 158, <IN> line 16. Character in "c" format
wrapped a
t /usr/bin/mimedefang.pl line 158, <IN> line 16. Character in "c" format
wrapped
 at /usr/bin/mimedefang.pl line 158, <IN> line 16. Character in "c" format
wrapp
ed at /usr/bin/mimedefang.pl line 158, <IN> line 16. Character in "c" format
wra
pped at /usr/bin/mimedefang.pl line 158, <IN> line 16. Character in "c"
format w
rapped at /usr/bin/mimedefang.pl line 158, <IN> line 16. Character in "c"
format
 wrapped at /us
Jun 17 18:00:51 spamsrv mimedefang-multiplexor: Slave 0 stderr:
r/bin/mimedefang
.pl line 158, <IN> line 16. Character in "c" format wrapped at
/usr/bin/mimedefa
ng.pl line 158, <IN> line 16. Character in "c" format wrapped at
/usr/bin/mimede
fang.pl line 158, <IN> line 16. 
Jun 17 18:00:53 spamsrv sendmail[2078]: i5HF0pc5002078: Milter change:
header  C
ontent-Type: from
multipart/alternative;\n\tboundary="------=_WallaWebMail_34271
_8709_Part_1000" to multipart/mixed;
boundary="----------=_1087484452-1929-3"
Jun 17 18:00:53 spamsrv sendmail[2078]: i5HF0pc5002078: Milter change:
header  M
IME-Version: from 1.0 to 1.0
Jun 17 18:00:53 spamsrv sendmail[2078]: i5HF0pc5002078: Milter message: body
rep
laced
Jun 17 18:00:53 spamsrv sendmail[2078]: i5HF0pc5002078: Milter add: header:
X-Sc
anned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang)
Jun 17 18:01:11 spamsrv sendmail[2085]: i5HF0pc5002078:
to=<mikib at superior-cable
s.com>, delay=00:00:20, xdelay=00:00:18, mailer=esmtp, pri=30457,
relay=[192.168
.160.33] [192.168.160.33], dsn=2.0.0, stat=Sent (OK)

I be more than happy to get some help :))
Thanks,
Miki Barzilay
rrr at superior.co.il



More information about the MIMEDefang mailing list