This is the change log:
Behavior changes:
• delivery: exmdb_local.cfg:lda_twostep_ruleproc now defaults to 1, so server-side rules of delivered mail are run by the TwoStep processor. Set it to 0 to return to the old processor. exmdb_local(4gx) lists the remaining differences.
• delivery: exmdb_local.cfg:lda_mrautoproc now defaults to 1, so meeting requests, responses and cancellations are entered into calendars on delivery. It only works together with lda_twostep_ruleproc=1. Set lda_mrautoproc=0 to turn it off.
Enhancements:
• ruleproc: the TwoStep processor now reports failed rules with deferred error messages and disables rules whose target folder is gone or whose forward has too many recipients.
• ruleproc: the TwoStep processor now writes deferred action messages, so Outlook client-only rules work.
• ruleproc: the TwoStep processor now supports OP_REPLY and OP_OOF_REPLY (reply templates, Out of Office assistant rules).
• ruleproc: the TwoStep processor now supports OP_DELEGATE, so delegates receive meeting messages.
• ruleproc: meeting autoprocessing now marks a cancelled occurrence of a recurring meeting as cancelled in attendee calendars, not only in resource calendars.
• ruleproc: Out of Office reply rules with ST_KEEP_OOF_HIST now answer each sender only once per Out of Office period in the TwoStep processor. A change of the Out of Office settings starts a new period.
• ruleproc: the TwoStep processor now supports OP_BOUNCE. The sender gets a non-delivery report and the message is not kept.
• ruleproc: forwards flagged FWD_AS_SMS_ALERT are now sent by the TwoStep processor as a short text mail with sender, subject and the start of the body, instead of a copy of the whole message. Mobile numbers cannot be reached and get a deferred error message.
• ruleproc: redirects (OP_FORWARD with FWD_PRESERVE_SENDER) of the TwoStep processor now carry X-MS-Exchange-Organization-AutoForwarded: true.
• oxcmail: X-MS-Exchange-Organization-AutoForwarded: true now sets PR_AUTO_FORWARDED on import, so rule conditions on automatic forwards can match.
• EWS: GetInboxRules now returns the Inbox rules and UpdateInboxRules is implemented, so Outlook for Mac and eM Client can manage server rules.
• ruleproc: forward rules now send a new "FW: " message from the mailbox owner that quotes the original, in the language of the mailbox, like Exchange does. Redirects, forwards as attachment, meeting messages and S/MIME messages still go out unchanged.
• ruleproc: forwards as attachment are now wrapped like in Exchange, with the "FW: " subject of the mailbox and the original message kept byte for byte.
• ruleproc: forwards now list the mailboxes they passed through in X-MS-Exchange-Inbox-Rules-Loop, so chains of forwarding mailboxes work and loops still end, also together with Exchange.
• EWS: the quoted header of replies and forwards now follows the mailbox culture and is placed inside the body of the original HTML.
• oxcmail: long address lists, Subject, References, In-Reply-To, passthrough headers and encoded attachment file names are now folded instead of being emitted as one line of any length.
Changes:
• exmdb_local: Out-of-office replies without a stored subject now use Exchange's "Automatic reply: " prefix, or "Automatische Antwort: " for German mailboxes, unless gromox.cfg:autoreply_subject_prefix is set.
• EWS: SetUserOofSettings now clears the Out of Office subjects stored by grommunio-web, so replies are titled like in Exchange, e.g. "Automatic reply: <subject>". Before, a subject once set in grommunio-web stayed in use after the OOF settings were changed in Outlook or eM Client.
• ruleproc: meeting autoprocessing now writes the subject prefixes of its responses and of cancelled calendar items in the language of the mailbox, e.g. "Angenommen: " and "Abgesagt: " for German mailboxes.
• EWS: UpdateInboxRules now removes leading and trailing * from the strings of the Contains*Strings conditions and exceptions. eM Client wraps each of these strings in asterisks, which a substring match takes literally, so its server rules never matched.
Fixes:
• EWS: AcceptItem, TentativelyAcceptItem, DeclineItem, SuppressReadReceipt and CancelCalendarItem now refuse private items of others for users who are not allowed to see private items.
• EWS: the subject prefix of meeting responses, e.g. "Accepted: ", is now in the language of the MailboxCulture header of the request, or else of the user, like Exchange does. A German mailbox answers with "Angenommen: ".
• EWS: the "Canceled: " prefix of meeting cancellations now follows the same language as the prefix of meeting responses.
• EWS: GetItem now returns the attendees of a meeting when the shape asks for them without calendar:IsMeeting.
• imap: The greeting on implicit TLS connections advertised a truncated capability list.
• EWS: meeting updates sent by UpdateItem now carry PidLidChangeHighlight and are marked as full or informational updates instead of as a new request.
• EWS: changing the attendees of a meeting with UpdateItem no longer drops the responses of the attendees that stay, unless the start, end or recurrence changed too.
• ruleproc: an unparsable extended rule no longer keeps all other rules of the folder from running in the TwoStep processor.
• ruleproc: extended rules on named properties now match in the TwoStep processor.
• ruleproc: OP_TAG in the TwoStep processor no longer sets the modification time of the message to 1601 and now produces a valid change key.
• ruleproc: a failing rule no longer stops the remaining rules and the new-mail notification in the TwoStep processor.
• ruleproc: OP_FORWARD in the TwoStep processor no longer loops between mailboxes.
• ruleproc: gromox.cfg is now read from the config_file_path of the hosting program instead of always /etc/gromox.
• email_lib: embedded message/rfc822 parts are no longer serialized empty, so rules that forward as attachment send the original message again.
• ruleproc: with meeting autoprocessing, meeting messages that a delegate rule hands to the delegates only now still update the principal's calendar, and the delegates' copies are flagged as processed.
• ruleproc: meeting autoprocessing now records a response that a delegate sent on behalf of an attendee for that attendee, instead of looking for the delegate among the attendees.
• EWS: a delegate answering its copy of a meeting request now responds on behalf of the principal and updates the principal's calendar instead of its own.
• ruleproc: rules without a condition no longer apply to every message in the TwoStep processor and are skipped, as in the old processor.
• ruleproc: meeting autoprocessing no longer undoes what rules changed on a meeting message, e.g. the importance or categories set by a rule.
• delivery: the Arrival-Date of bounce reports showed the message size instead of the date.
• ruleproc: tentative responses of meeting autoprocessing now carry the subject prefix "Tentative: " instead of "Maybe: ".
• ruleproc: Out of Office rules now still run in the TwoStep processor after a rule that stops processing or deletes the message.
• oxcmail: importing X-Message-Flag stored the subject as the flag text (PidLidFlagRequest) instead of the to-do title, so rule conditions on a particular flag never matched.
• ruleproc: the conditions "not sent to me", "sent only to me" and "where my name is in the Cc box" now match in the TwoStep processor.
• ruleproc: "sender contains these words" conditions now match local senders by their e-mail address and ignore case in the TwoStep processor.
• ruleproc: the TwoStep processor now runs at most exmdb_provider.cfg:max_ext_rule_number extended rules per folder, as the old processor does.
• ruleproc: the TwoStep processor now treats rules flagged ST_ONLY_WHEN_OOF_EX, as Exchange 2007 writes them, as Out of Office rules.
• ruleproc: with meeting autoprocessing, a meeting update that keeps the start, end and recurrence, such as one that removes an attendee, no longer resets the responses of an attendee who had already answered, nor the attendee's reminders.
• EWS: accepting a meeting request for one occurrence of a series now updates that occurrence in the attendee's calendar and returns it, instead of writing nothing.
• ruleproc: meeting autoprocessing now enters an update for one occurrence of a series into the attendee's series as an exception. Before, attendee calendars kept the old time until a client acted, and clients that rely on the server, such as Apple Calendar, never showed the update.
• ruleproc: when meeting autoprocessing marks a cancelled series in an attendee calendar, it now cancels the exceptions of the series too. Before, a moved occurrence stayed active under its old subject.
• exmdb: rule batches can no longer exceed max_rule_number, and renaming a rule takes effect.
• zcore: rule updates rejected for exceeding max_rule_number are now reported as failures.
• EWS: MimeContent now includes the stored transport headers, such as Received, Authentication-Results and DKIM-Signature, so Apple Mail and Outlook for Mac show them in the message source.
• ruleproc: messages with a null envelope sender, such as bounces, are no longer forwarded. A forward target that bounced made the bounce loop.
• ruleproc: rule replies no longer answer list, bulk and auto-submitted mail and now carry Auto-Submitted themselves.
• ruleproc: after a rule moves a message into another mailbox, later rule actions and meeting processing no longer act on that other mailbox.
• ruleproc: the TwoStep processor now honours exmdb_provider.cfg:enable_dam=0 and no longer writes deferred action messages that pile up unseen.
• ruleproc: extended move, copy and reply rules that point into another mailbox are now disabled instead of acting on an unrelated local object.
• ruleproc: declines for decline_recurring are now only sent to senders with free/busy rights on the calendar.
• ruleproc: extended rule conditions comparing values of different types no longer crash delivery, and conditions on multivalue properties such as Keywords now match.
• ruleproc: a sender is now only recorded in the Out of Office history when a reply was actually sent.
• ruleproc: meeting autoprocessing no longer replaces the organizer's meeting with an attendee copy when an attendee forwards a request or cancellation to the organizer.
• ruleproc: responses to recurring meetings now carry PidLidTimeZoneStruct.
• oxcmail: Content-Disposition no longer ends in a separator and an empty line when there is no modification time.