[#14642] Multiple action
Summary Multiple action
Queue Ingo
Queue Version Git master
Type Enhancement
State Rejected
Priority 2. Medium
Requester vittorio (at) vitsoft (dot) bz
Created 2017-05-16 (1155 days ago)
Updated 2020-03-12 (124 days ago)
Resolved 2020-03-12 (124 days ago)
Patch No

2020-03-12 20:16:10 Jan Schneider State ⇒ Rejected
2017-05-19 08:39:40 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
You can already have multiple actions by duplicating a rule and then 
changing it to use the other requested action. Changing Ingo to work 
exactly like you requested would require much more changes though. For 
example it's not possible to do a conditional vacation rule at all yet.
Allowing multiple actions, or allowing to conditionalize the special 
rules, or even have multiple of those, would require a lot of work 
though, so this is very unlikely to happen without sponsoring.
2017-05-16 06:53:53 vittorio (at) vitsoft (dot) bz Comment #1
Type ⇒ Enhancement
State ⇒ New
Priority ⇒ 2. Medium
Summary ⇒ Multiple action
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
Reply to this comment
Would be possible have a choice for multiple action in a rule ?
For example I want that all mail received on Saturnday and Sunday for 
a specfic mail address should be delivered to the mailbox and that a 
message is sent back that say the office are closed.

This is a simple sieve script that do that :
if anyof ( header :comparator "i;ascii-casemap" :contains "Received" 
"Sat", header :comparator "i;ascii-casemap" :contains "Received" "Sun" 
) {
     vacation :days 1 :addresses "mail@example.com" :subject "Office 
closed" "The office is close on Saturnday and Sunday.";

Saved Queries