Mailtraq - the Complete Email Server

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

Search for:

Advanced search

KB01120810 Creating ASCII files from incoming mail instead of routing it

Create a new mailslot, enable its gateway and choose your disk location for the generated files. There are a number of format options available so experiment to decide which suits your needs best.

You can direct all mail to that mailslot, or direct each existing mailslot to a different folder if you wish. Use a simple script triggered on inbound to do the address rewriting if you choose the former solution, ...

| SetHeader("X-Mtq-Rcpts", MsgGetRcpts());
| MsgSetRcpts(AddressOf("mailbox"))

... where "mailbox" is the disk gateway mailslot, because it enables you to add a header of your choice containing the original recipient(s) in case you need to recreate them later.

Author credit

Keywords: kb email
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.