NethServer Version: 7.9.2009
Module: postfix, dovecot
Hello,
We have recently started using Nethserver as our mail server and would now like to connect the SecurePoint UMA as our mail archive.
Unfortunately, I have not yet fully understood how to insert the X-Envelope-TO headers so that the archive can assign the emails.
I have created an archive@ mailbox and activated “Forward a copy of all messages” in the settings.
The only thing I have found on the subject is already 11 years old and I am not sure how to implement it with the e-smith templates.
https://mailing.postfix.users.narkive.com/P4OA8zgi/virtual-alias-maps-and-x-original-to
You can fake it in the SMTP server with
/etc/postfix/main.cf:
smtpd_recipient_restrictions =
check_recipient_access pcre:/etc/postfix/recipient_access.pcre
/etc/postfix/recipient_access.pcre
/(.+)/ prepend X-Original-To: $1
Thanks for your help