Results 1 to 7 of 7

Thread: Away message (out-of-office auto-reply)

  1. #1
    fmodola is offline Special Member
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    Default Away message (out-of-office auto-reply)

    Hi everybody,

    I'm currently running ZCS 4 and I didn't find any information about a feature that is running on several other collaboration servers like Lotus Domino (even if on Domino this feature isn't so complete) :

    when a user activate the away message (or out-of-office auto-reply), it would be great to add (optionnally) the start times/dates and stop times/dates between which this message is enabled.

    More, it would be really useful to add an "out of office" event in the calendar during the dates set, or from the time the message was enable to the current time.

    Other users then can be able to see unavailabilities from their planning when they create new appointments ...

    Do I need to create a new request in the bugzilla DB ?

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    I'm fairly postive that there is already a enhancement request for this. If there is, please feel free to vote for it.

  3. #3
    chh
    chh is offline Advanced Member
    Join Date
    May 2006
    Posts
    196
    Rep Power
    9

    Default

    There is a feature request here Bug 10071.

  4. #4
    kminamoto's Avatar
    kminamoto is offline Intermediate Member
    Join Date
    Nov 2009
    Location
    Chile
    Posts
    17
    Rep Power
    5

    Lightbulb Corporate out-of-office message

    Hello everyone :-)

    I have a small problem, and I hope you can help me (I hope I'm in the right thread).

    Our office is giving us away holiday days for everyone for the Xmas-New Year week (Dec 26 - Jan 2), so we'll be closed during that week.

    Is there any way to set a kinda "corporate" out-of-office message for all the users in the domain, for the aforemetioned week, without editing each account's away-message?

    Thanks in advance, kindest regards
    KMinamoto

  5. #5
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    461
    Rep Power
    4

    Default Add a script

    Hi,

    Yes you can.

    script via zmprov using

    zimbraPrefOutOfOfficeReply: Message you want
    zimbraPrefOutOfOfficeReplyEnabled: TRUE

    Based on Setting automatic Default Signature - Zimbra :: Wiki to get all accounts.

    Code:
    #!/bin/bash
     
      RUTA="/opt/zimbra/bin"
     
      # Check for run as zimbra user
      ID=`id -u -n`
      if [ x$ID != "xzimbra" ]; then
         echo "Please run as ZIMBRA user"
         echo "Exiting..."
         exit 1
      fi
     
      # Obtain all accounts
      accounts=`$RUTA/zmprov gaa`
      for ac in $accounts; do
         echo -ne "Checking account: $ac \t"
     
         echo -ne "Setting Out of Office message"
     
         # Set Out of Office Message for account $ca
         $RUTA/zmprov ma $ac zimbraPrefOutOfOfficeReplyEnabled TRUE zimbraPrefOutOfOfficeReply "Message you want"
     
      done
    Be aware of exclude "system" accounts like admin, spam, ham, etc. This script doesn't.

    Regards.
    Last edited by ccelis5215; 12-15-2011 at 03:17 PM. Reason: Sample script

  6. #6
    Sam159 is offline Senior Member
    Join Date
    Jan 2012
    Posts
    66
    Rep Power
    3

    Default

    how can you exclude system accounts?

  7. #7
    kminamoto's Avatar
    kminamoto is offline Intermediate Member
    Join Date
    Nov 2009
    Location
    Chile
    Posts
    17
    Rep Power
    5

    Default

    Quote Originally Posted by Sam159 View Post
    how can you exclude system accounts?
    I did it by 'grep'ing each account name and placing an if statement whether the account is spam, ham, admin or galsync.
    Maybe it's not the cleanest way, but it worked
    Thanks.
    KM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. message refused (in reply to end of DATA)
    By reza225 in forum Administrators
    Replies: 2
    Last Post: 02-03-2014, 11:06 AM
  2. Away Message (out of office auto reply)
    By cpmckenzie in forum Users
    Replies: 4
    Last Post: 08-08-2011, 08:34 AM
  3. Replies: 2
    Last Post: 07-31-2007, 11:17 PM
  4. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  5. antispam not working?
    By moebis in forum Installation
    Replies: 16
    Last Post: 12-03-2005, 08:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •