I have a mailbox named, for example, exemplarius, and an email address *@exemplarius.com to catch all incoming emails sent to @exemplarius.com. This catch-all address is connected to that mailbox.
Now, when I send an email to the following recipients:
To: addr1@exemplarius.com
Cc: addr2@exemplarius.com
Bcc: addr3@exemplarius.com
three separate messages appear in the mailbox. This is expected and works fine.
The issue is that all three messages have the following headers:
X-Original-To: exemplarius@imap2.de.opalstack.com
Delivered-To: exemplarius@imap2.de.opalstack.com
Is there a way to retrieve the actual recipient addresses for each message?
Ideally, each message would include a header indicating which address it was originally delivered to, like so:
In the first message:
X-Original-Delivered-To: addr1@exemplarius.com
In the second message:
X-Original-Delivered-To: addr2@exemplarius.com
In the third message:
X-Original-Delivered-To: addr3@exemplarius.com