Koozali.org: home of the SME Server

enable disable vacation from console

Offline larieu

  • *****
  • 214
  • +0/-0
enable disable vacation from console
« 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
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: enable disable vacation from console
« Reply #1 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

Offline byte

  • *
  • 2,183
  • +2/-0
Re: enable disable vacation from console
« Reply #2 on: July 28, 2009, 03:56:19 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline larieu

  • *****
  • 214
  • +0/-0
Re: enable disable vacation from console
« Reply #3 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)
if everybody's life around you is better, probably yours will be better
just try to improve their life