You really should upgrade as the feature wasn't 'verified' till 5.0.3 but:
su - zimbra
zmprov ma
user@domain.com zimbraPrefOutOfOfficeReplyEnabled TRUE
zmprov ma
user@domain.com zimbraPrefOutOfOfficeReply I'm currently out of the office - if it's urgent please contact
peer@domain.com
zmprov ma
user@domain.com zimbraPrefOutOfOfficeFromDate 20080418000000Z
zmprov ma
user@domain.com zimbraPrefOutOfOfficeUntilDate 20080419000000Z
Default for the CacheDuration is 7 days - already set on the COS:
zmprov gc COSname| grep zimbraPrefOutOfOfficeCacheDuration
zimbraPrefOutOfOfficeCacheDuration: 7d
Thus duplicate away messages will not be sent to the same user in the given interval of 7 days. On day 8, if they send that account an email, they would again get back one notification, then no notifications for another day.
Setting to 0 would send an out-of-office notification in response to every email received (I'd avoid that). Plus, if you have user A with an away message up, user B sends an email, and immediately puts up their away message (with the attribute set to 0) you could technically get a loop.
I prefer 3d or every week 5/7d depending upon how long the user is gone. ie: If they're typically gone a month, then every week etc.
Set by:
zmprov mc COSName zimbraPrefOutOfOfficeCacheDuration 3d
or
zmprov ma
user@domain.com zimbraPrefOutOfOfficeCacheDuration 3d
zimbraPrefOutOfOfficeDirectAddress was added in
Bug 9196 - Ability to send out of office notifications for mail forwarded into Zimbra account
zmprov ma
user@domain.com zimbraPrefOutOfOfficeDirectAddress
yourOtherAddressForwardedToZimbra@otherDomain.com