Zhang Huangbin
2008-Jul-12 19:00 UTC
[Dovecot] How can i set vacation subject in non-english characters?
Hi, all.
I have implemented vacation via dovecot sieve. but how can i use
non-english characters in vacation subject?
Thanks very much.
This is my sample sieve rule for vacation:
----8<----
require ["vacation"];
vacation
:days 1
:mime
:subject "Auto-Reply: Out of office."
"MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
I can use non-english character here as mail body, wrote in utf-8.
";
----8<----
--
Best Regards.
Zhang Huangbin
- iRedMail: Mail Server Solution for Red Hat(R) Enterprise Linux &
CentOS 5.x:
http://iRedMail.googlecode.com/
Timo Sirainen
2008-Jul-12 19:23 UTC
[Dovecot] How can i set vacation subject in non-english characters?
On Sun, 2008-07-13 at 03:00 +0800, Zhang Huangbin wrote:> Hi, all. > > I have implemented vacation via dovecot sieve. but how can i use > non-english characters in vacation subject?The same way as in all other email messages: MIME encode it. Perhaps Dovecot should do this internally, but for now it doesn't. Easiest way I can think of to generate the subject would be to let your current MUA do that. Send yourself the subject you want and copy&paste the Subject: header from the raw message sources. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080712/10de9a11/attachment-0002.bin>
Zhang Huangbin
2008-Jul-12 19:32 UTC
[Dovecot] How can i set vacation subject in non-english characters?
Timo Sirainen wrote:> On Sun, 2008-07-13 at 03:00 +0800, Zhang Huangbin wrote: > >> Hi, all. >> >> I have implemented vacation via dovecot sieve. but how can i use >> non-english characters in vacation subject? >> > > The same way as in all other email messages: MIME encode it. Perhaps > Dovecot should do this internally, but for now it doesn't. > > Easiest way I can think of to generate the subject would be to let your > current MUA do that. Send yourself the subject you want and copy&paste > the Subject: header from the raw message sources. > >Got it. Thanks Timo. :) Hope dovecot will do that in the future version. -- Best Regards. Zhang Huangbin - iRedMail: Mail Server Solution for Red Hat(R) Enterprise Linux & CentOS 5.x: http://iRedMail.googlecode.com/