[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/
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.
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/
participants (2)
-
Timo Sirainen
-
Zhang Huangbin