[#13188] Allow empty subject for vacation
Summary Allow empty subject for vacation
Queue Ingo
Queue Version Git master
Type Enhancement
State Feedback
Priority 1. Low
Owners
Requester skhorde@smail.inf.fh-bonn-rhein-sieg.de
Created 2014-05-15 (2683 days ago)
Due
Updated 2016-01-28 (2060 days ago)
Assigned
Resolved
Milestone
Patch Yes

Comments
skhorde@smail.inf.fh-bonn-rhein-sieg.de 2014-05-15 13:48:06
For instance the Dovecot sieve implementation allows an empty subject 
and adds its own autogenerated one, which includes the subject line of 
the incoming message.

Attached patch adds a backend option to allow this for Sieve.

I used a positive backend option name "subject_can_empty" and a 
positive feature "subject_needed", in order to:

1) if the backend option is false or absent, the current behaviour is 
the default,
2) if the feature is absent, the current behaviour is the default.

So, the config must set  "subject_can_empty = true", in order to 
change the current behaviour.

Can you easily remove one feature from a Horde_From_Vacation feature 
list? I enumerated all features I found in the form.

Jan Schneider <jan@horde.org> 2014-05-19 08:25:35
Since the :subject field is optional for Sieve per RFC. I'm wondering 
about the other script implementations that we support. Maybe we can 
unconditionally make this a non-required field.

skhorde@smail.inf.fh-bonn-rhein-sieg.de 2014-05-19 09:57:53
There had been bug #8376 which made subject and reason mandatory.

Jan Schneider <jan@horde.org> 2016-01-28 14:22:38
This should be done by checking a backend feature to see if the 
subject form field has to be mandatory in Ingo_Form_Vacation. Then 
make it optional in sieve's features.