[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Locale und passende Charmap



Andre Bischof wrote:
Evgeni Golov wrote:
...
Mir scheint, als würde bei dir etwas bei der Ablage die Mails nach
UTF-8 konvertieren, aber nicht den Mailheader umschreiben. Wenn du bei
Stefans Mail deinen Client auf UTF-8 zwingst, solltest du ein sz sehen.
Wenn das der Fall ist, kannst du mal den Schuldigen suchen, der ist
irgendwo zwischen deinem Mailserver der die Mail von murphy annimmt und
deinem Maildir. Möglich wäre ein falsch konfigurierter Mailserver oder
irgendeins deiner Ablage- (maildrop, procmail, etc) oder Abhol-Scripte
(getmail, fetchmail, etc)

Dann bist du ja im Prinzip meiner Meinung, die Ablage läuft schief. Ich benutze fetchmal, cyrus, sieve und postfix. Keine Ahnung warum da was nach UTF-8 konvertiert wird, von mir aus können die Mails gern so bleiben wie sie sind.

Wie finde ich das bloß raus?

Ein grep -iR nach utf in den Configs der o.g. Pakete hat mich leider nicht weiter gebracht, ebensowenig unter /usr/share/doc

Allerdings hatte ich amavisd-new vergessen, der auch noch in der Kette hängt, und da lese ich gerade:

 root@linux:/etc/amavis# less README.l10n
$Id: README.l10n,v 1.5 2005/12/26 17:15:15 hmh Exp $

First of all, read /usr/share/doc/amavisd-new/README.customize.gz

Amavisd-new is UTF8-aware, and it will do character-set conversion when
dealing with DSN templates. The full unicode codespace is available, if used with the proper encodings... and you have to use the proper encodings if you don't want your DSNs to be flagged as more charset-challenged SPAM by other systems.

ALWAYS respect the charset when adding l10n files.

Amavisd-new does charset conversion twice: one when reading the text files with localized templates (to internal perl UTF8), and another when writing the email notification (from internal perl UTF8 to $hdr_encoding and $bdy_encoding).

Headers will be RFC2047-encoded if they have any codepoints not allowed by RFC2822 after the charset conversions. The body text charset encoding is inserted in the proper MIME header.

More details are available in /usr/share/doc/amavisd-new/RELEASE_NOTES.gz

root@linux:/etc/amavis#

Das hört sich doch schonmal interessant an, 2 Umwandlungen! Ich weiß zwar nicht warum, guck aber mal was die beiden doc-Dateien dazu sagen. Außerdem ist mir aufgefallen, dass Perl 5.8.8 wohl teils Probleme mit utf hat, zumindest ist das bei dem o.g. grep rausgekommen.

Andre

--
Personal weblog and more: http://bischof.homelinux.net

Stilblüten aus Polizeiberichten und Gerichtsverhandlungen:
Nach ambulanter Behandlung konnte der junge Mann seinen Finger wieder
mit nach Hause nehmen.



Reply to: