[Dovecot] change sender name in Sieve
Stephan Bosch
stephan at rename-it.nl
Sun Dec 21 18:49:24 EET 2008
Jakob Grießmann schreef:
> Hello,
>
> the vacation module of Sieve works fine for me, but the sender name
> (From Header) is always the e-mail address. I'm unable to add a name
> here. I'd love to have my realname in the From: field.
>
> Did I miss something? :-)
No, you tripped a bug.
The following script should have yielded the desired result:
--
require "vacation";
vacation
:from "Stephan Bosch <stephan at rename-it.nl>"
"I am off to Hawaii";
--
However, the header constructed by Dovecot looks as follows:
From: <Stephan Bosch <stephan at rename-it.nl>>
Most mail servers will reject this, drop it, or dump it in a frozen
queue somewhere.
This bug is/was present in both the CMU Sieve and new Sieve plug-in. In
case you are using the CMU Sieve plug-in, a patch against the v1.1
version is attached. The change is very trivial and should be easy to
backport to the v1.0 version. For the new Sieve plug-in, the bug is
fixed in the Mercurial repository and it will therefore be fixed in the
upcoming release.
Timo, could you apply this fix to the dovecot-sieve-1.0/1.1 repositories?
Regards,
--
Stephan Bosch
stephan at rename-it.nl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cmusieve-vacation.fix.diff
Url: http://dovecot.org/pipermail/dovecot/attachments/20081221/275caf4c/attachment.pl
More information about the dovecot
mailing list