When Gmail is configured to deliver via DAVmail SMTP, and more than one domain appears in the recipient list, it appears to create (at most?) one SMTP connection per recipient, which OWA then interprets as multiple mails to all recipients. The result is a mess.
This is a huge hack. Possibly a better approach is to filter the recipient list of each connection based on RCPT TOs seen, but I think that creates another problem: the Message-IDs will be distinct for each set of recipients (in my local IT's Exchange setup, Gmail's Message-ID is replaced by some Exchange-specified message ID).
Patch is against davmail-src-3.6.6-1032
Log in to post a comment.