Queue and Statistics Manager

Using MDStats, MDaemon's queue and statistics manager.

MDaemon's queue and statistics manager (MDStats) is accessed directly from within MDaemon by choosing the Queues Queue and Statistics Manager… menu selection. MDStats is made up of a four-page dialog. Each of these pages has been designed to serve a distinct and specific purpose while also maintaining a simple format that makes them very easy to use.

Queue Page

The default tab is the Queue Page. From this page you can easily manage all of MDaemon's standard mail queues, as well as the User Account mailbox folders. By simply clicking on the queue or user of your choice, a list of all message files contained within the specified queue will be displayed along with several key pieces of pertinent information about each message: the sender, the recipient, the content of the "Deliver-To" header, the subject of the message, its size, and how long it has been at its current location. In addition, controls are provided that make it easy to copy or move messages between folders, or delete them completely.

User Page

The User Page displays a list of all MDaemon users. This list includes their full name, mailbox name, the number of messages in their mailbox, the amount of disk space that their account is taking up, and the date that they last checked their mail. This list can also be saved to disk as a text file, or it can be saved in comma delimited format for use with databases.

Log Page

With this dialog you can display MDaemon's Log Files in a simple list format. This feature is very useful for quickly examining the history of MDaemon's mail transactions because it condenses the selected Log File into a columnar list which contains: the Type of the message (POP Inbound, DomainPOP, RFC822, and so on), the Host to which MDaemon connected during the transaction, the sender, the recipient, the message size, the date that each message was processed, and whether or not the transaction was successful. You can also examine the detailed portion of the log regarding any of the entries on the list by double clicking the desired entry. This will display the portion of the log where that transaction was made. Logs displayed on the Log Page can be saved as a text file or in comma delimited format for use with databases.

Report Page

The last tab is the Report Page. With this feature you can produce a report containing all of MDaemon's configuration settings, written in a plain text readable format. Because of the large number of optional settings and configurations in MDaemon, this can greatly speed the process of administering configuration changes as well as aid in diagnosing possible configuration problems. Additionally, this report is displayed in a text editable format that makes it possible to Copy/Paste the information it contains (using the right-click shortcut menu), or add notations or other information to the file before saving it.

Queue Page

Queue Page list box

When a queue or user is chosen from the Message Queues area or the user list box beside it, a list of all message files contained within the selected queue will be displayed in the main list box on this page. This list contains each message's file name, the sender, the recipient, the content of the "Deliver-To" header, the subject of the message, its size, and how long it has been at its current location (listed by date and time).

Above this box the complete file path to the currently displayed directory is given, as well as the number of messages displayed and the size of the directory.

You may copy, move, or delete one or more files by selecting them from the list and then clicking the appropriate button below it.

The content of these files may also be edited directly from the Queue Page list box. Simply double-click the file that you wish to edit (or choose "Edit" from the right-click shortcut menu) and MDStats will open the file for editing in Window's Notepad.

The list box can be navigated by using the vertical or horizontal scroll bars, or you can click anywhere within the list box and use the ARROW keys for navigation. You can sort information contained in the Queue Page list box by whichever column you choose. Simply click once on the desired column to sort it in ascending order (A-Z, 1-2), or click twice to sort it in descending order (Z-A, 2-1). Columns can also be resized by positioning the pointer over the line between any of the column headings until it changes shape and then dragging the column to the desired width.

Selecting Files

To select files individually Click the desired file.

To select contiguous files Click the first file in the contiguous list of files that you wish to select, then while holding down the SHIFT key, click the last contiguous file in the desired list.

Alternatively, you may use the ARROW, HOME, END, PAGE UP, and PAGE DOWN keys, while holding down the SHIFT key, to select files in contiguous order.

To select non-contiguous files Click on the desired files in the File Name column while holding down the CTRL key.

Message queues

Click an entry in the lower left pane and a list of all files contained within the specified queue will be displayed in the Queue Page list box. If you click the User Folders option, a list of all MDaemon users will be displayed in the User List Box to the right of the Message Queues section.

Users list box

This box displays a list of all MDaemon users when the User Folders option is clicked in the Message Queues section (lower left pane). Click a user's name to display a list of all message files currently contained in the user's mailbox folder.

Refresh

Because mail queues are dynamic while MDaemon is active - with message files constantly being transferred to and from them - you should regularly click this button to refresh any list of files that you may have displayed.

Copy

When one or more files are selected, click this button to copy the selected files to another queue or user's mailbox folder. After clicking this button the Copy Message(s) dialog box will open, from which you can select the desired location to which you wish to copy the selected files.

Move

When one or more files are selected, click this button to move the selected files to another queue or user's mailbox folder. After clicking this button the Move Message(s) dialog box will open, from which you can select the desired location to which you wish to move the selected files.

Delete

When one or more files are selected in the Queue Status List Box, click this button to delete the selected files. After clicking this button a confirmation box will open asking if you really do wish to delete the selected files.

[QueueOptions] heading to LockOnEdit=Yes. This will cause a LCK file to be created whenever you are editing a message, which will prevent it from being moved out of the queue until you are finished with it.

User information

When the User Page is chosen MDStats immediately loads a list of all MDaemon accounts into the User Information list box. This list contains each user's full name, the name of their mailbox, the domain to which the account belongs, the number of messages it contains, its mail format, the amount of disk space (in bytes) that the account is taking up, their forwarding address, and finally, the date that their mail was last checked. Given that the information contained in this list is constantly changing, it can be easily updated by clicking the Refresh button.

The list box can be navigated by using the vertical and horizontal scroll bars, or you can click anywhere within the list box and use the ARROW keys for navigation. You can sort information contained in the User Information list box by whichever column you choose. Simply click once on the desired column to sort it in ascending order (A-Z), or click twice to sort it in descending order (Z-A). Columns may also be resized by positioning the pointer over the line between any of the column headings until it changes shape and then dragging the column to the desired width. Further, you can double-click any entry and MDStats will be shifted to the Queue Page with the contents of their mailbox folder displayed.

Refresh

User statistics such as the number of messages contained in their mailboxes, and the amount of disk space that their accounts are using, are constantly changing. You can easily update the information contained in the User Information list box by clicking the Refresh button. This will immediately make all displayed information current.

Progress indicator

Because User Information lists can at times be very large, below the User Information list box is a progress indicator bar that provides a visible indication that the program is still operating when large files are being loaded by MDStats.

Save

The information contained in the User Information list box can be saved as a file in comma delimited format for use with databases, or as a plain ASCII text file by clicking the Save button. After choosing a name and location for this file in the Windows Save As dialog, MDStats will ask you whether you want to save the file in comma delimited format or as a plain text file.

Log report

The Log Report list box displays MDaemon's detailed log files that you select through the Open Log button and the Windows Open dialog that follows it. The Log Report display provides a quick and easy way to review the history of mail transactions that MDaemon has processed without having to sort through the large volume of information that MDaemon log files may sometimes contain. When a Log Report is displayed in this list box MDStats breaks it down into a simple format containing: the Type of the message (POP Inbound, DomainPOP, RFC822, and so on), the Host to which MDaemon connected during the transaction, the sender, the recipient, the message size, the date that each message was processed, and whether or not the transaction was successful.

You can also examine the detailed portion of the log regarding any of the entries on the list by double clicking the desired entry. This will display the portion of the log where that transaction was made. Using the right-click shortcut menu you can copy/paste this detailed log portion to a text editor for saving or editing should you desire to do so.

The list box can be navigated by using the vertical and horizontal scroll bars, or you can click anywhere within the list box and use the ARROW keys for navigation. You can resize the list box's columns by positioning the pointer over the line between any of the column headings until it changes shape and then dragging the column to the desired width.

Open log

Click this button to open the Windows Open dialog for choosing which log file that you wish to view. If you click this button when there is a Log File already displayed in the Log Report list box, MDStats will give you the option to append the new file to the one that is already displayed.

After a log is displayed, a message box will be opened which contains a summary of the selected log. When saving a Log Report as a text file, this log summary will be appended to it.

Progress indicator

Because Log Files can be very large, below the Log Report list box is a progress indicator bar that provides a visible indication that the program is still operating when large files are being loaded or saved by MDStats.

Save

The information contained in the Log Report list box can be saved as a file in comma delimited format for use with databases, or as a plain ASCII text file by clicking the Save button. After choosing a name and location for this file in the Windows Save As dialog, MDStats will ask you whether you want to save the file in comma delimited format or as a plain text file.

Report

When the Report Page is clicked MDStats will produce a comprehensive report that lists every setting within MDaemon in an easily readable text format. This feature greatly decreases the amount of time needed by an administrator to check MDaemon's many configuration settings, and it can aid in quickly solving possible configuration problems.

You can navigate through this report using either the scroll bars or the CURSOR keys, and the Report display is also a text editor - making it possible to insert notations or additional information that you may want on the report before saving it to a file. Additionally, you can use the shortcut menu to Cut, Copy, and Paste, to and from this display by right-clicking your mouse and making the desired selection from the menu that opens.

Refresh

Click this button to update the currently displayed Report of MDaemon settings.

Progress indicator

As with the other tabs in MDStats, the Report Page contains a progress indicator bar that serves as a visible indicator that the program is still operating while large files are being loaded or saved.

Save

Click this button to save the currently displayed Report. After clicking this button a standard Save As dialog will open so that you can designate a file name and location where you want to save it.

Customizing the Queue/Statistic Manager

The following is a list of settings that can be modified in the MDstats.ini file located in MDaemon's \app\ directory:

MDstats.ini File MDStats Command LineParameters

[MDaemon]  
AppDir=C:mdaemonapp Location of MDaemon's app directory.
[QueueOptions]  
Editor=NOTEPAD.EXE Editor to use when a message is double-clicked, or when a message is right-clicked and then Edit is selected.
LockOnEdit=No Whether or not to create a LCK file when editing a message. This will prevent a message from being moved out of the queue while it is being edited.
AutoRefresh=Yes Time (in seconds) between auto refreshes of the message listing. 0 means no auto refresh.
ShowDirectories=Yes Show subdirectories of the queues in the list box in addition to the messages. Directories will appear as <DirectoryName>.
[UserOptions]  
ShowQuota=Yes Determines whether the user listing displays quota information (message count and disk space just like MDaemon calculates it) or file information (number of files and total disk space).
[LogOptions]  
ShowUnknown=Yes Show sessions that MDStats couldn't determine if they were inbound or outbound, SMTP or POP.
ShowSmtpInbound=Yes Show SMTP inbound sessions.
ShowPopInbound=Yes Show POP inbound sessions (mail checks).
ShowSmtpOutbound=Yes Show SMTP outbound sessions.
ShowPopOutbound=Yes Show POP outbound sessions (MultiPOP, DomainPOP).
ShowRFC822=Yes Show RFC822 local mail deliveries.
ShowSmtpHelo=Yes For SMTP inbound sessions, show HELO domain in the Host column.
IgnoreEmptyPop=Yes Ignore mail checks when no mail was deliverd.
ShowImap=Yes Shows IMAP Sessions.
[Remap] Drive letter remapping; for running MDStats from a different machine than the one MDaemon is on.
C:=\serverc When reading from MDaemon.ini, replace "C:" with "\serverc".
[Special] OnlyOneInstance=No Allow only one instance of MDStats to run.
  Attempting to open it again will activate the instance that is already running. This option can be set on the GUI tab of Miscellaneous Options by enabling or disabling the control: "Restrict MDStats GUI to a single instance only".

Note:All command line parameters are not case sensitive.

Number 1 through 8 Display a specified queue in the Queue Page.
  1 = Remote Queue
  2 = Local Queue
  3 = Retry Queue
  4 = LAN Queue
  5 = RAW Queue
  6 = Bad Queue
  7 = SmtpIn Queue
  8 = Save Queue
/L[N] [InputFile] [OutputFile] roduce a log file report. Specifying an 'N' after the 'L' means do not save as a comma delimited file.
/A If producing a log file report, append new information to the output file rather than overwriting it.

Additional Links

Search

Documentation

Authorization

 
Forgot your password?
Register

Subscribe

Subscribe to company news