Process Flow: OOO Notifications

Revision as of 23:47, 26 August 2013 by Jason (talk | contribs) (Building and Sending the OOO Reply)

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 7.0 Article ZCS 7.0 ZCS 8.0 Article ZCS 8.0


Overview

If the recipient's account requires out of office notification, send it out. Notifications are based on user preferences and certain criteria of the incoming message.

OOO Notification Triggers

OOO notifications are not sent under these conditions. Each condition will indicate logging in mailbox.log when applicable.

  • Feature Enabled: zimbraFeatureOutOfOfficeReplyEnabled account/COS attribute is not TRUE. Default is TRUE.
  • User Preference: zimbraPrefOutOfOfficeReplyEnabled account/COS attribute is not TRUE.
  • Spam/Trash: Original message ends up in "Junk" or "Trash" folder. Logged with "in spam ..." or "in trash ...".
  • Date: Received message is outside of zimbraPrefOutOfOfficeFromDate and zimbraPrefOutOfOfficeUntilDate. This check is ignored if the from date and until dates are NULL.
  • Envelope Sender: Envelope sender is empty or invalid. When the sender is null, logging is "envelope sender null …". If the sender string length is less than 1, the logging is "envelope sender empty …". If the envelope sender is not an email address, logging is "envelope sender invalid …".
  • Auto-Submitted Header: Original message contains the Auto-Submitted header with a value that is not no. Logging is "auto-submitted not no …".
  • Precedence Header: Original message contains the Precedence header with a values bulk, junk, or list. Logging is "precedence (bulk | junk | list) …".
  • Mailing List Owners: Check if the envelope sender indicates a mailing list owner.
Envelope Sender Has Value Logging
NULL envelope sender invalid ...
owner- or -owner envelope sender has owner- or -owner ...
-request envelope sender contains -request ...
mailer-daemon envelope sender is mailer-daemon ...
majordomo envelope sender is majordomo ...
listserv envelope sender is listserv ...
  • Content-type multipart/report: Message MIME is content-type multipart/report. Logging is "content-type multipart/report …".
  • Recipient in TO/CC: The recipient was not directly mentioned in TO: or CC:. Multi-valued account attribute zimbraPrefOutOfOfficeDirectAddress is used to specify other valid direct recipient addresses. For performance reasons, the Zimbra notifier will only check the first 10 recipients in the TO: or CC: fields to guard against having to check a large number of addresses. Logging is "not direct …".
  • Notification already sent: A notification has already been sent to the sender. Based on the COS/account attribute zimbraPrefOutOfOfficeCacheDuration, the notifier checks for an existing row in table zimbra.out_of_office. This table tracks the mailbox ID, the reply recipient and timestamp. Logged with "already sent …".

External Recipients (ZCS 8 and later)

ZCS 8 can be configured to control OOO to external senders using the zimbraPrefOutOfOfficeExternalReplyEnabled account attribute. If TRUE, send zimbraPrefOutOfOfficeExternalReply to external senders. External senders are specified by zimbraInternalSendersDomain and zimbraPrefExternalSendersType.

Building and Sending the OOO Reply

The following is the process of building and sending the out-of-office notification. The notifier:

  1. Sets the From, display name, and reply-to according to zimbraPrefFromAddress, zimbraPrefFromDisplay, and zimbraPrefReplyToAddress account attributes.
  2. Sets the Subject to "Re: " + original message subject.
  3. Sets the Auto-Submitted header to auto-replied (zimbra: vacation) (not customizable) for loop protection.
  4. Sets the Precedence header to bulk. This discourages older systems from responding to the OOO reply.
  5. Sets the message body to zimbraPrefOutOfOfficeReply account attribute.
    ZCS 8: Sets the message body to zimbraPrefOutOfOfficeExternalReply account attribute for external replies.
  6. Sets the envelope from to <> if global config attribute zimbraAutoSubmittedNullReturnPath is TRUE. Otherwise, the envelope from is set to the account name.
  7. Sends the message and not saving it to the Sent folder. Logging is "outofoffice sent dest …".
  8. Stores a row in the zimbra.out_of_office table indicating that an OOO reply was sent to the specified address.
Verified Against: ZCS 7.1.x, ZCS 8.x Date Created: 08/26/2013
Article ID: https://wiki.zimbra.com/index.php?title=Process_Flow:_OOO_Notifications Date Modified: 2013-08-26



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search