Avalonia MailRouter Log format

MailRouter will create a text file named "log" in the "MailRouter f" folder.
The log file contains one or more lines for each message that has been forwarded by MailRouter, in the following format:

<time> <date> <local message ID> <size in bytes> <sending address> <receiving address> <address forwarded to>

As each line is tab seperated, it should be easy to import it into a database or a spreadsheet for further processing.
When a message is forwarded to more than one address, the log will contain one line for each address that the message has been forwarded to. MailRouter will also log all user controlled actions (such as start, quit and reset) to the log.
When the size of the log file exceeds 256 KB the contents of the file is moved to a timestamped file in the "Log Archive" folder.

When MailRouter starts up, it reads and analyses the the "alias" file. As MailRouter tries to interpret all commands given, using commands with parameters that hasn't been defined for the keyword used, can give unpredictable results. As a help when looking for typing errors MailRouter generates an "aliaslog" file in the "MailRouter f" folder each time the "alias" file is analised. The content of the "aliaslog" file is a verbose version of the "alias" file, showing how MailRouter interpreted the "alias" file.



Bo Holst-Christensen (holst@cutisan.dk)