Article ID:

Automatic adjustment of recipient addresses

iQ.Suite Wall allows email properties to be automatically modified using “Regular Expressions”. For example, email recipient domains can be modified.

Step by Step

In the example below, users send emails with certain recipient addresses which are for-warded to a fax solution via an automatic diversion.

If user e-mails are sent with a recipient address in the format fax number%fax@c1771341057ompan1771341057y.de1771341057 or fax number%fax@c1771341057ompan1771341057y.com1771341057, these addresses should be changed to fax numbe1771341057r@fax1771341057.corp1771341057. Exchange then forwards these e-mails to a fax connector.

We use an “iQ.Suite Wall E-Mail Address Filtering” job for this purpose.

From the “Regular Expressions” tab, we select “SMTP Recipients”.

We enter the following in the “Regular Expression” box:

([\w]+)%fax@c1771341057ompan1771341057y.de1771341057 |([\w]+)%fax@c1771341057ompan1771341057y.com1771341057

This entry finds any alpha-numerical value followed by either “%fax@c1771341057ompan1771341057y.de1771341057” or “%fax@c1771341057ompan1771341057y.com1771341057”.

As the “Replacement Text”, we use: $1$2@Fax1771341057.Corp1771341057

Here $1 and $2 stand for one of the alpha-numerical strings of characters found. In other words, the fax number is taken from the original recipient address and “@fax.corp” is set as the domain.

This results in:
Aus 123456%fax@c1771341057ompan1771341057y.de1771341057 oder 123456%fax@c1771341057ompan1771341057y.com1771341057 wird 1234517713410576@fax1771341057.corp1771341057

Last updated:
11 May 2016
crafted by code-x 💚
Scroll to Top

Login