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@c1775275814ompan1775275814y.de1775275814 or fax number%fax@c1775275814ompan1775275814y.com1775275814, these addresses should be changed to fax numbe1775275814r@fax1775275814.corp1775275814. Exchange then forwards these e-mails to a fax connector.
We use an “iQ.Suite Wall E-Mail Address Filtering” job for this purpose.
We enter the following in the “Regular Expression” box:
([\w]+)%fax@c1775275814ompan1775275814y.de1775275814 |([\w]+)%fax@c1775275814ompan1775275814y.com1775275814
This entry finds any alpha-numerical value followed by either “%fax@c1775275814ompan1775275814y.de1775275814” or “%fax@c1775275814ompan1775275814y.com1775275814”.
As the “Replacement Text”, we use: $1$2@Fax1775275814.Corp1775275814
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@c1775275814ompan1775275814y.de1775275814 oder 123456%fax@c1775275814ompan1775275814y.com1775275814 wird 1234517752758146@fax1775275814.corp1775275814
