[Dovecot] Auto discard sieve vacation messages
I have deploy an environment with pigeon sieve, managesieve, dovecot, squirrelmail and avelsieve plugin. The vacation messages are working fine. I am looking for a method to discard vacation messages in some date, when the user returns.
Has somebody looked in this feature?
Thanks a lot,
Andrés Fernando Yacopino
Infraestructura - Dpto Sistemas
AcaSalud
Cooperativa de Prestaciones Médico Asistenciales Limitada
Tel: 0341-4208726
ayacopino@acasalud.com.ar
Andrés Yacopino wrote:
I have deploy an environment with pigeon sieve, managesieve, dovecot, squirrelmail and avelsieve plugin. The vacation messages are working fine. I am looking for a method to discard vacation messages in some date, when the user returns.
Has somebody looked in this feature?
Thanks a lot,
You can use the currentdate test introduced by date extension. RFC5260 shows the following example on page 6:
== Currentdate can be used to set up vacation [RFC5230] responses in advance and to stop response generation automatically:
require ["date", "relational", "vacation"];
if allof(currentdate :value "ge" "date" "2007-06-30",
currentdate :value "le" "date" "2007-07-07")
{ vacation :days 7 "I'm away during the first week in July."; }
==
Regards,
Stephan.
participants (2)
-
Andrés Yacopino
-
Stephan Bosch