If there is a separate sieve mailing list let me know. But have question if someone else has done this or not.
Right now I have web form people use to setup their vacation replies using Sieve (1.1.6). The form alows them to set what they want their reply address to be, whether to send the reply once, weekly or bi-weekly. I would like to setup another option to let them set the date in which to de-active the vacation replies automatically. Right now they have to remember to log back into the form to turn off the vacation reply. Has anyone set something like this up?
-- C. J. Keist Email: cj.keist@colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301
All I want is a chance to prove 'Money can't buy happiness'
On 07/07/2009 07:59 PM CJ Keist wrote:
If there is a separate sieve mailing list let me know. But have question if someone else has done this or not.
Right now I have web form people use to setup their vacation replies using Sieve (1.1.6). The form alows them to set what they want their reply address to be, whether to send the reply once, weekly or bi-weekly. I would like to setup another option to let them set the date in which to de-active the vacation replies automatically. Right now they have to remember to log back into the form to turn off the vacation reply. Has anyone set something like this up?
The users are on holiday while the script is active? During this time the users does not login to imap/pop3? And you are using sieve only for vacation replies?
If you answered all questions with 'yes', read on.
Save the sieve script under a specific name, e.g. ~/sieve/vacation-reply.sieve. Use a post-loging Script, which tells the user she/he has to deactivate the sieve script in order to use the imap/pop3 server. For further information see: http://wiki.dovecot.org/PostLoginScripting
Regards, Pascal
The trapper recommends today: deadbeef.0919514@localdomain.org
On 7/7/2009 1:59 PM, CJ Keist wrote:
If there is a separate sieve mailing list let me know. But have question if someone else has done this or not.
Right now I have web form people use to setup their vacation replies using Sieve (1.1.6). The form alows them to set what they want their reply address to be, whether to send the reply once, weekly or bi-weekly. I would like to setup another option to let them set the date in which to de-active the vacation replies automatically. Right now they have to remember to log back into the form to turn off the vacation reply. Has anyone set something like this up?
From what I've seen of the sieve RFCs, there's no provision for setting this. (Or has that been added?)
I also run into this request regularly with my users who want their
vacation replies to turn on at 2pm Friday and turn off at 9am Monday.
Which currently means that someone has to babysit the sieve scripts.
Ideally, it would be an option to the vacation element (i.e. "start time" and "end time"). The reason that a start/end time would be useful is in the case of where someone wants to setup their vacation replies ahead of time, and have them automatically enable/disable for the specified time period.
(apologies for continuing an old thread, but I'm curious)
On 10/16/2009 08:04 PM Thomas Harold wrote:
… Ideally, it would be an option to the vacation element (i.e. "start time" and "end time"). The reason that a start/end time would be useful is in the case of where someone wants to setup their vacation replies ahead of time, and have them automatically enable/disable for the specified time period.
(apologies for continuing an old thread, but I'm curious)
Not yet tested, but it should be possible with the 'Date and Index Extensions'¹ for Sieve. From the Sieve NEWS file:
v0.1.12 21-08-2009 Stephan Bosch <stephan AT rename-it DOT nl> … + Implemented the new date extension. This allows matching against date values in header fields and the current date at the time of script evaluation.
Regards, Pascal
1 = http://tools.ietf.org/html/rfc5260
The trapper recommends today: face1e55.0928920@localdomain.org
participants (3)
-
CJ Keist
-
Pascal Volk
-
Thomas Harold