Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: larieu on July 27, 2009, 06:35:35 PM

Title: enable disable vacation from console
Post by: larieu on July 27, 2009, 06:35:35 PM
I use one IMAP accounts for an group of users which direct the interface with customers (something like office@[fqdn])
and I want to use vacation to auto reply to customers starting every working day at 20 00 and cut off this at 7 am
I tried to found any comment about a script to solve this from console but I wasn't able to find any posts or anything in manuals
if I'll find one in console to put it in chrontab it's a joke

any hint is welcomed
Title: Re: enable disable vacation from console
Post by: stephen noble on July 28, 2009, 01:13:30 AM
db accounts show username

make a change with the panel

see what changes
then practice making the changes manually
eg
db accounts setprop username abc xyz

apply with
/etc/e-smith/events/actions/qmail-update-user

put it all in a script and call with cron
Title: Re: enable disable vacation from console
Post by: byte on July 28, 2009, 03:56:19 PM
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
Title: Re: enable disable vacation from console
Post by: larieu on August 02, 2009, 03:26:39 PM
thanks snoble. It work like charm

I just wonder why nobody thinked to integrate this easy to change status of the vacation into the horde calendar (kronolith I thin is named)