Hi,

I am having a strange issue with Amavis corrupting some localized characters in 
mail. My mail chain looks like this:

- debian etch
- postfix 2.3.8
- amavisd-new 2.4.2
- dovecot 1.0.rc15

Every mail passing through the mailserver gets its characters corrupted. I 
experimented with unicode character "ลก" (a common letter in czech alphabet), 
which is normally encoded in 2 bytes (utf-8). However, after passing through 
mailserver, resulting character occupies 4 bytes (!), a (bad) result which can 
be simulated for instance by calling iconv('iso-8859-1', 'utf-8'). This means 
that Amavis incorrectly transforms the mail body from ISO encoding to 
(correctly specified) UTF-8.

I am pretty sure that this problem is caused by Amavis: when I remove Amavis 
from the chain, everything works fine.

Several more observations:
- this issue can be observed on both incoming and outgoing mails
- there is no problem with my mail client (thunderbird) as it works perfectly 
with other mail servers
- I tried running amavisd-new with C locale (LANG=C LC_ALL=C amavisd-new) with 
same results

Is somebody experiencing the same problem, or can someone provide any advice?

Thanks a lot,
Ondrej Zara


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to