Mailtraq - the Complete Email Server

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search


The Re-writing tab appears on the Inbox Properties dialog and is used to modify recipient addresses during message routing.

Address re-writing entries consist of a specification and a replacement. Each recipient address processed during routing is compared against each re-writing entry, and is replaced if it matches a specification. The specification is a string which can include wildcard characters.

The addresses are processed top to bottom in the order shows in the list box and the same address can be modified more than once. In fact, the same message may go through the routing system more than once as well, which may result in the same rewriting rules being applied more than once.

Mailtraq also supports the use of an aliases file (similar to the Unix .forward file) which can be used to modify addresses in the RCPT Routing Field.

String matches in address rewriting are case insensitive and local addresses can be referenced without the full host name, that is, in non FQDN (Fully Qualified Domain Name) form. Address re-writing modifies addresses in the RCPT Routing Field, analogous to the SMTP envelope forward path, and does not alter headers in the re-routed message.

Rewriting rules are applied to Mailtraq's Domain Name and Domain Aliases indiscriminately. That is, an address rewriting specification which specifies is also applied by Mailtraq to all the entries in sales@domain.alias. A more technical explanation is that Mailtraq canonicalises local domains in both specification and replacement expressions and in the inbound message before comparing them. Hence if Mailtraq considers both and to be local domains, mail re-writing cannot be used to distinguish between them in order to direct messages for to a different destination from

Host names can be treated as non-local by Mailtraq if they are removed completely from the Server Properties dialog and added in *@domain form to the 'Always allow relaying to these recipients' field on the Relaying tab of the primary SMTP Service. Obviously, considerable care is needed when handling address re-writing in that way to avoid mail being misrouted and it should not be embarked on lightly by the inexperienced. Alternatively, a custom written Script may be employed, the same as, or similar to, the fully worked Example Script which treats all domains as non-local for address re-writing purposes.


Download Trial
Buy now
Feature Tree
What's new
Print this pagePrint this Page  
Mailtraq 2.12 PDFDatasheet  
Send a friend an email about MailtraqShareMailtraq - Email Server at Delicious Mailtraq - Mail Server at digg Mailtraq - Mail Server at FacebookMailtraq - Email Server at stumbleupon Tweet about Mailtraq 



Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video


   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.