[Tickets #12086] Re: Ingo Sieve driver: Allow including original $subject into vacation response
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Mar 4 11:57:37 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12086
------------------------------------------------------------------------------
Ticket | 12086
Updated By | beitter at b1-systems.de
Summary | Ingo Sieve driver: Allow including original $subject
| into vacation response
Queue | Ingo
Version | Git master
Type | Enhancement
State | Rejected
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
beitter at b1-systems.de (2013-03-04 11:57) wrote:
> Not possible with Sieve.
> You can only leave out the subject completely which would
> auto-generate a subject line constructed from the original message.
that's not correct.
It is possible to store the old Subject with the "variables" extension
and add it later to the auto-reply subject line.
-----snip-----
require ["variables", "vacation"] ;
# store old subject to variable "old_subject"
if header :matches "Subject" "*" {
set "old_subject" ": ${1}";
}
vacation
:days 7
:subject "Out of office - ${old_subject}"
"I am out of office until .........";
-----snip-----
This will create a subject for the auto-reply: "Out of office - I am
the old subject"
see RFC5229 - http://tools.ietf.org/html/rfc5229
greets
More information about the bugs
mailing list