Valid values are '0' or '1', default is '0' emission enabled. TAB one when present. In case of Maildir mailbox structure, scan the "cur" directory during POP3 message list build. Set to "0" to disable "cur" directory scanning, or to "1" to enable it. The new spool filesystem tree format has been designed to enable XMail to handle very large queues.
Instead of having a single spool directory like versions older than 0. When XMail needs to create a new spool file a spool path is chosen in a random way and a new file with the format:. When the spool file is ready to be committed, it's moved into the ' mess ' subdirectory that holds newer spool files.
If XMail fails sending a new message the ones in mess subdirectory it creates a log file with the same name of the message file inside the ' slog ' subdirectory and move the file from ' mess ' to ' rsnd '. During the message sending the message itself is locked by creating a file inside the ' lock ' subdirectory with the same name of the message file. TAB ' file is off, the message file is moved into the ' froz ' subdirectory.
Currently defined options are:. XMail uses to identify itself during SSL negotiations, by the mean of the two files ' server. For Unix ports, this is available as a package, whose name varies depending on the distribution. For Windows, pre-built versions of theOpenSSL libraries and binary are supplied inside the "win32ssl" directory of the XMail source package. For example, to create a self-signed certificate, you first have to create a private key with:.
After you have created the private key, you can create you own copy of the self-signed certificate with:. If you want to have a certificate signed by an authority, you need to generate a certificate request file:. The ' openssl.
The ' cert. TAB ' variables:. Tells the SSL link negotiation code to verify the remote peer certificate. You can also add your own certificates in the set, in order to provide access to your servers by clients using certificates signed by you. Most of XMail configuration settings are command line tunables.
These are command line switches organized by server. Set the queue split level. The value you set here is rounded to the lower prime number higher or equal than the value you've set. Set POP3 session timeout seconds after which the server closes. Set the delay timeout in response to a bad POP3 login. Such time is doubled at the next bad login. Set SMTP session timeout seconds after which the server closes the connection if no commands are received. Set the increment ratio of the reschedule time in sending a messages.
Set external POP3 accounts sync interval. Default Set CTRL session timeout seconds after which the server closes the connection if no commands are received. The XMail admin server 'speaks' a given protocol that can be used by external GUI utilities written with the more disparate scripting languages, to remote administer the mail server.
The protocol is based on sending formatted command and waiting for formatted server responses and error codes. The " character is not included in responses. As the first action immediately after the connection the client must send an authentication string with this format:. Clear text authentication should not be used due server security. If the user does not receive a positive authentication response, the connection is closed by the server. It is possible to establish an SSL session with the server by issuing the "!
TLS" string as login string. This is the format of the listing:. This can be a fully qualified email address or a username inside the same domain. There can be multiple variable assignments with a single call. If ' varvalue ' is the string '. Use 'U' for user mailproc, or 'D' for domain mailproc or 'DU' for a merge of both. If not specified, 'DU' is assumed.
In successful cases the mailproc. Use 'U' for the user one, and 'D' for the domain one. If not specified, 'U' is assumed.
If successful , the client must list the mailproc. If a line of the file begins with a dot, another dot must be added at the beginning of the line. If the file has zero length the mailproc. When ' perms ' is not specified the default is RW. The wild match versions simply returns a filtered list of domains.
The wild match version simply returns a filtered list of alias domains. The output format is:. If a line of the file begins with a dot, another dot must be added at the begin of the line. If the file has zero length the custom domain file is deleted. Using APOP authentication is more secure because clear usernames and passwords do not travel on the network; if you're not sure about it, specify ' CLR ' as authtype.
The format of the listing is:. The listing format is:. If the file has zero length the configuration file is deleted. Remember that configuration files have a strict syntax and that pushing a incorrect one can make XMail not work properly. You can get this information from the frozlist command.
After a message has been successfully rescheduled it is deleted from the frozen fs path. Do you want to build Web configuration tools?
The format of these files is strict:. All lines must be [CR][LF] terminated, with one mail-from statement, one or more rcpt-to statements, an empty line and the message text. The file name format is:. You can tune this number of threads with the ' -Ln nthreads ' command line option. The suggested number ranges from three to seven. You can use CtrlClnt to send administration commands to XMail. The syntax of CtrlClnt is:. CtrlClnt returns 0 if the command is successful and! If the command is a query, then the result is printed to stdout.
By issuing a:. Under NT console service XMail --debug XMail detects a shutdown condition by checking the presence of a file named '. This command line utility enables you to create the user accounts structure by giving it a formatted list of users parameters or a formatted text file.
The syntax of the list or file is:. This utility can also be used to create a random number users useful for me to test server performance. If the file ' mailusers. If you want to setup the root directory -r If you setup the root directory -r Existing files and directories are not overwritten by MkUsers so you can keep your users db in the formatted text file or generate it by a database dump for example and run MkUsers to create the structure.
Remember that you have to add new domains in the ' domains. When building XMail, an executable called ' sendmail ' is created. This is a replacement of the sendmail program used mostly on Unix systems; it uses the local mail delivery of XMail to send email generated onto the server machine.
These sendmail options are supported other options are simply ignored :. The following parameters are XMail extensions meant to be used with mailing lists managers using sendmail as a mail list exploder :. Suppose you have your message in the file 'msg. The syntax is:. To handle multiple POP3 domains, the server makes a reverse lookup of the IP address upon which it receives the connection. Suppose the reverse lookup results in ' xxxx.
XMail checks if ' xxxx. The first resolved in the given order is the POP3 domain. To avoid the above behavior, it's sufficient that the POP3 client supply the entire email address as POP3 login username:.
This enables XMail to handle multiple domains in cases where more nic-names are mapped over a single IP address. The main cause of bugs with XMail is due a bad line termination of configuration files, so check that these files being correctly line terminated for your OS.
Remember to compile the file CTRL. If you have an heavily loaded server remember to setup the best number of XMAIL threads by specifying the ' -Qn nthreads ' option you must do some tentatives to find the best value for your needs. If you have enabled logging, remember to setup the ' -Mr hours ' option depending on the traffic you get in your server. This avoids XMail having to work with very large log files and can improve server performance. If you are unable to start XMail even if you followed this document's instructions , check the MailRoot directory with the one listed above.
More than one unzipper does not restore empty directories by default. Although one already created as an example in the file package I will demonstrate how to do it as below:. Server hostname: qnap.
Then click on "Submit" you will be brought to the log-in page and just log in with the details you just set. Once in you can start to create your mail users or configure other settings as needed. To uninstall Xmail: Simply delete the entire chroot environment. So does it really work? As for details regarding the server config and how to use Xmail, I guess I'll leave that to you with the information and resources below.
Good luck! Changelogs - Remote Computer Support Uninstaller. Please enable JavaScript to pass antispam protection! Is a file storing a sequential message number. You set it at 1 when You install the server and leave it be handled by the software. This entry is used to syncronize an external account like "dlibenzi xmailserver.
It connect with the "xmailserver. Using authentication is more secure coz clear usernames and password does not travel on the network, if You're not sure about it, specify CLR as authtype. For non local POP3 sync You've to specify a line like this one as the first domain char : " home. The message will be pushed into the spool having as destination dlibenzi home.
You can also have the option to setup a line like this one : "? So if a message having as To: address graycat felins. Particular attention is to be taken about at not creating mail loops. You can avoid the matching domain list after the masquerading domain but, in that case, You may have bad destination addresses inside the spool. If the port :nn is not specified the default SMTP port 25 is assumed.
XXX" to use the server as relay. For this reason it's better to keep the number of entries in this file as low as possible.
So using these authentication modes a user must use as username the full email address the : separator is permitted instead and as password his POP3 password. TAB lookup is done. Besides internal SMTP authentication methods a user XMail administrator can define custom authentication procedures by setting up properly this file.
The presence of this file is optional an if it does not exist the default processing is to store the message in user mailbox. It can be used with "external" command but in this case it's external program responsibility to delete the temporary file.
TAB to give the executed external commands the time to read the message file. TAB file processing.
0コメント