I'm guessing that this is the root of most of my problems. How do I get sqwebmail to send emails in the encoding I want? Will it send only in the encoding of the templates?

Okay, well, I recompiled with this:


./configure --with-cachedir=/apps/webmail-test/sqwebmail/cache \
  --with-cacheowner=vmail \
  --enable-cgibindir=/apps/webmail-test/cgi-bin \
  --enable-imagedir=/apps/webmail-test/htdocs/images \
  --enable-imageurl=http://wm2.sh.test.intra:88/images \
  --enable-mimetypes=/apps/webmail-test/apache/conf/mime.types \
  --enable-unicode=iso-2022-jp,iso-8859-1,utf-8 \
  --prefix=/apps/webmail-test/sqwebmail \
  --enable-mimecharset=iso-2022-jp \
  --enable-softtimeout=3600 \
  --enable-hardtimeout=7200 --with-module=authldap

I took the stock english templates and converted them all to iso-2022-jp. I think the old sqwebmail templates originally translated by Ichi-san need updating. :)

I set the CHARSET to "iso-2022-jp" and the LANGUAGE to "ja-jp". LANGUAGE_PREF was set to "ja50 ja-jp".

Mails are now being sent with the encoding of iso-2022-jp as follows:

   Content-Type: text/plain; format=flowed; charset="iso-2022-jp"
   Content-Transfer-Encoding: 7bit

However, there are major problems of note.

1) The subject line is not being encoded with the RFC2045 specification.

2) The body is being arbitrarily wrapped in the middle of a multibyte character, destroying the rest of the message. The first line is ok, the rest is just junk.

3) Date field is corrupted, until I choose Japanese (EUC) in the browser(!?).

Multibyte support is just not working for me at all. I know this can't possibly be the case, other people have it working fine so I must be misconfiguring somewhere along the line.

Please, I'm willing to try anything to get this working. Any help is appreciated.

I'm quite at a loss.

Regards,

Nathan.

--
Nathan Ollerenshaw - Systems Engineer - Shared Hosting
ValueCommerce Japan - http://www.valuecommerce.ne.jp

Diamonds on velvets on goldens on vixen
On comet & cupid on donner & blitzen
On up & away & afar & a go-go
Escape from the weight of your corporate logo!




Reply via email to