[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 12:35:43 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         | Jan Schneider <jan at horde.org>
  Summary            | Ingo Sieve driver: Allow including original $subject
                     | into vacation response
  Queue              | Ingo
  Version            | Git master
  Type               | Enhancement
-State              | Feedback
+State              | Rejected
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2013-03-04 13:35) 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.

Interesting, I didn't know this use-case yet.

> -----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"

That's one very specialized construct for supporting a single feature,  
not supported by any other of Ingo's filter backends, and requiring  
knowledge of internal Sieve (variables) syntax, though. This is more a  
hack than a general approach to this problem.





More information about the bugs mailing list