最近我把伺服器升級至 Server 10.3
發生了很鳥的問題...
收到某些信件時,表頭類的部分 (標題、寄件者)
中文會變成 XXX (有幾個字就會變成幾個 X)
後來發現,只要是透過 WebMail (例如 yahoo) 之類介面寄來的信件才會發生...
如果 client 端用 Mail 軟體或是 Outlook Express 等軟體就相安無事...
深入了解一下 Mac OS X Server 10.3 Mail Server 核心
發現採用了 UNIX 上著名的 sendmail 程式 "PostFix"
但是我在另外的 Linux 伺服器上的 PostFix 並未有發生此問題
猜想可能是跟 X 系統檔名不支援 Unicode 以外編碼所導致...
Return-Path: <yahoo@mac.to>
Received: from Mercury ([unix socket])
by Mercury (Cyrus v2.1.13) with LMTP; Tue, 18 Nov 2003 19:45:25 +0800
X-Sieve: CMU Sieve 2.2
Received: from Outlook (unknown [10.0.1.888])
by mail.mac.to (Postfix) with ESMTP id 4D8A57C98F
for <yahoo@mac.to>; Tue, 18 Nov 2003 19:45:25 +0800 (CST)
Message-ID: <001d01c3adc9$cac9a430$a801000a@webaq.com>
Reply-To: =?big5?B?V2ViQVEguK2uYapA?= <yahoo@mac.to>
From: =?big5?B?V2ViQVEguK2uYapA?= <yahoo@mac.to>
To: "yahoo@Mac.to" <yahoo@mac.to>
Subject: =?big5?B?pKSk5bzQw0S0+rjVp9qsT7LCs0ogdHh0?=
Date: Tue, 18 Nov 2003 19:47:49 +0800
Organization: =?big5?B?uvS1uLDTvMas7KfeprOtraS9pXEgV2ViQVEuY29t?=
MIME-Version: 1.0
Content-Type: text/plain; charset="big5"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
I set up and use Mac OS X Server 10.3, It has big problem when I send and receive E-Mail via Cyrus IMAP.
When I receive some E-Mail which is 8-bit character(non-roman character), all of subjects are exchanged to 'X'.
This symptom describes on the Cyrus home page.
For solving problem, I have to changing some source(named 'messages.c') and compiling all package of Cyrus IMAP.
I also tried to re-compile with fixed source, but I faced many problems like as berkley db and slsp ... console shown many request for continuing compiles. I think Apple Computer Inc should make patches for solving this problem as soon as possible. This Mac OS X Server is entirely useless for Korean, Chinese and Japanese except for roman language.
I would like to know the way to solve this problem!