Skip to main content
Skip table of contents

Envelope From Address Rewriting

Retarus offers the option of rewriting your Envelope-From address for outgoing emails in order to redirect possible replies to a dedicated mailbox.

image-20240508-135757.png

With the Envelope-From Address Rewriting service you are able to rewrite the Envelope-From address of each email during the processing. Reasons for rewriting are that the customer's company policy does not allow the use of the customer's own domain for sending emails, to private persons for example or because of security concerns the customer wants to protect his domain and therefore his company network against attacks.

This service is used to do automatic rewriting for outbound email addresses (recipient and/or domain part). Technically, this service rewrites the Envelope-To from-address of emails based on a mapping list provided by the customer. The mapping file has to contain full email addresses (domain only is not possible) and have the following structure (whitespaces are eliminated automatically when processing the file):

JSON
{
   "from":{
      "address":"local-part@sender-domain.com"
   },
   "rewriteFrom":{
      "address":"local-part@customer-rewrite-domain.com"
   }
}

We also offer the option of Bounce and Response Manager. This is used to manage all email replies that you have received via the Envelope-From address managed by Retarus. The service may automatically process the reply and forward the message if the message requires personal review.

If you’d like to use this service, please contact Retarus for details and activation.

Envelope-From Address Rewriting - Push Notification

To make this service visible as possible Retarus will provide additional information for this service within the push notification.

JSON
{
   "meta":{
      "account":"m4a_test_user",
      "customerNo":"99999",
      "tenant":"Test User",
      "receivedTs":"2020-10-16T05:54:11.043Z",
      "jobId":"rcpt-632cdc56-6480-406b-8faf-5a7e70876d0c",
      "version":"1"
   },
   "notifications":[
      {
         "meta":{
            "tag":"a813f47bca9ded6b0305885e235c073e886168b8b63eb5e99d02d00bcc7a6371",
            "mail":{
               "id":"rcpt-632cdc56-6480-406b-8faf-5a7e70876d0c",
               "email":"recipient <recipient@sample.com>",
               "from":"sender@sample.com",
               "mimeFrom":"sender@sample.com",
               "rewriteFrom":"sender@rewrite-sample.com"
            },
            "event":{
               "type":"DELIVERED",
               "phase":"DELIVER",
               "state":"FINISHED",
               "subType ":"OK",
               "ts":"2020-10-16T05:54:18.000Z",
               "description":"mail delivered"
            }
         },
         "content":{
            "mime":{
               "messageId":"<20201016-…54463a38@retarus.com>",
               "size":"884"
            },
            "smtp":{
               "responseCode":"250",
               "reason":"sent (250 2.0.0 Ok: queued as 3yFnZW2mNlzPk9y)",
               "relay":"mailin4.rmx.de[82.135.18.227]:25",
               "dsn":"2.0.0",
               "transportEncryption":{
                  "requested":true,
                  "established":true,
                  "properties":{
                     "protocol":"TLS1.2",
                     "cipherSuite":"example-cipher-suite"
                  }
               }
            }
         }
      }
   ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.