6.0.0-beta1
7/4/25

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

History
03/12/2020 08:16:10 PM Jan Schneider State ⇒ Rejected
 
05/19/2017 08:39:40 AM 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.
05/16/2017 06:53:53 AM vittorio (at) vitsoft (dot) bz Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Multiple action
Type ⇒ Enhancement
State ⇒ New
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" 
) {
     keep;
     vacation :days 1 :addresses "mail@example.com" :subject "Office 
closed" "The office is close on Saturnday and Sunday.";
     stop;
}


Saved Queries