[Tickets #14642] Multiple action
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue May 16 06:53:53 UTC 2017
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14642
------------------------------------------------------------------------------
Ticket | 14642
Created By | vittorio at vitsoft.bz
Summary | Multiple action
Queue | Ingo
Version | Git master
Type | Enhancement
State | New
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
vittorio at vitsoft.bz (2017-05-16 06:53) wrote:
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 at example.com" :subject "Office
closed" "The office is close on Saturnday and Sunday.";
stop;
}
More information about the bugs
mailing list