At first: don't be scared about reading manuals! This doc is as short as possible and it will help you to make your life as an XMail Server Admin easier! So let's go ... XMail Server handles all its incoming and outgoing mail in a single folder called spool. When you look inside that directory on a standard installation, you see 23 sub folders, numbered from 0 to 22 and 2 other folders called temp and local. Each of the 23 numbered folders has again 23 sub folders inside (0-22). Each of this 2nd level folders ends up in 8 folders named mess, rsnd, froz, slog etc ... This makes up a total of (23 * 23 * 8) + 2 = 4.234 folders, which XMail Server uses as a queue database for multiple threads. So XQM was created to have a tool that
This function makes a snapshot of the current queue content. XQM spawns multiple threads,. each of them collecting the information of one or more sub tree structures in parallel. When all threads are finished, the spoolfile list is displayed. The list is sortable by each column header field. Every line starts with an icon that represents the message's current status:
When you right-click an entry, you'll get a popup menu, which displays all message related functions of the toolbar for quick access. Diagnosis The maybe most important column is the rightmost one called "Diagnosis". It contains a short hint (message tag), that tell you why a message wasn't delivered. E.g. "QUOTA", if the recipient's mailbox was full or "DNS_FAILED?" when a DNS problem is assumed etc. This Analyzer function is extremely helpful for classifying a bulk of messages quickly at a glance. By sorting the column, you can easily seperate malformed mails from only temporary errors. There is need to dig through each message with the Inspector. If you are interested in creating user defined message tags, then have a look at the file parse.lib in XQM's main directory. The file can be viewed with any ASCII viewer or editor. The queue inspector helps you to track messages inside your spool directory. It gives you a detailed view of the currently selected mail (=Spoolfile), its corresponding send log (=SLOG File) and some deeper diagnosis info. Best practice:
Spoolfiles are RFC822-conform mails with an additional header that contains XMail specific data. Their structure is as follows:
When a message is in the resending or frozen state, XMail creates an individual send log file (=SLOG) for that message. The SLOG contains detailed informations about each try to deliver the mail.
With every delivery attempt, XMail adds a new entry to the SLOG file. The latest report is always at the bottom of the file. A SLOG entry
The delivery result
After that you
get the delivery details,
All further deliver attempts are sequentially logged in exaclty the same manner. So let's parse
our example: You see, it's as easy as promised. In most cases its enough to quickly inspect ErrString and the SMTP-Error message. Deletes messages by their state or selection. If a message still exists after erasing, then it was locked by XMail. Just try again a little later in that case. This very handy function changes the state of frozen messages to sending messages. You won't miss that tool, if you once made configuration changes to your XMail Server, your DNS or network setup and some of your mails got stuck in the queue. When messages are resent, XMail sticks to a clearly defined scheduling. On a standard installation, the sending plan for each messages looks like this:
If you flush the queue, XMail starts to resend all messages immediately, without taking care for their precalculated scheduling. Beware:
Internally flushing is done, by opening a CTRL session and sending an ETRN command to the SMTP service. CTRL access has to be configured in the Networking dialog if you manage a local queue. When doing Remote Queue Management, the XQM Agent takes care for CTRL access. This assures that password informations are never sent across a network connection. The exporter exports the list content as a plain ASCII list for use with other applications. Makes a mailing list manager's life easier. Just decide which message type and which fields to export. Futher you can define a field seperator and quoting character. If you need the column names in the 1st line of your export file, check 'with column headers'. Check 'strip <> from addresses', if your export processor doesn't like <recipient@domain.com> type addressing. Starts and stops XMail Server. XQM knows two networking modes, "local" and "remote". As in its name, "local" is limited to your local machine and "remote" means across a network, e.g. your LAN or even the internet. So the first configuration step is to decide the networking mode. You can create multiple config profiles in this dialog. Select a profile: If you manage multiple remote queues, you can also start multiple instances of XQM with different profiles to query all Agents in parallel.
Updating happens without further notification. So if you generate a new profile based on an already existing one, remember to click the ADD button to assign a new name to the new profile before pressing Apply. Pressing Apply directly, would update the currently selected profile. Force
MailRoot
Force service name (only on win32 platform) A
note about multiple installations ... CTRL
access It's good practice to allow CTRL access only from your local machine, e.g. on interface 127.0.0.1. So your sensible CTRL account information is never sent across any network connection. Number
of threads Since threads consume resources (like RAM, CPU power ...), the number of threads was made scaleable to allow running XQM on slower machines with the best possible result. Just experiment with the slider to find out which value fits best for your individual environment. Keep in mind, that the first query is always slower, because the spoolfolder structure is cached for further queries. Remote Queue Management allows you to manage a remote host on the same or another platform. You can e.g. run XQM on Win2000, managing a Linux machine or the other way around. The setup for Remote Queue Management just needs the IP Address or NetBIOS name of the remote host + the Agent's port number (e.g. 8000) Additionally you need XQM Agent running on the host. XQM and its Agent talk to each other with the XML/RPC (Remote Procedure Call) protocol, which is based on HTTP-requests. That means it can be routed through any firewall, which allows the user defined communication port.
Security:
The Agent and Dynamic
IP Addresses: The Agent and Threads: Multiple Agents: This is a list of the SMTP error messages, that XMail Server uses to report delivery problems. It will help you when tracking undelivered or delayed mails. Error codes starting with a 4 are temporary errors. In that case XMail retries to deliver the mail. Codes starting with a 5 are final errors without further delivery attempts. SLOG files might also contain error codes of the recipient's SMTP, which are build up in a similar way (see RFC821). Log entries are not added to the SLOG files, but to the logs which XMail writes to the MailRoot/logs folder. They are listed here for completeness and for your comfort. My thanks for the original list go to dario@henry.it , who did a lot of work by filtering this informations out of the XMail Server source code.
If you have any additional informations that you'd like to see in that document or if you find any bugs, please send a mail to h_schneider@marketmix.com All the best,
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||