SYNOPSIS
XMail [options]DESCRIPTION
XMail is an Internet and intranet mail server featuring an SMTP server, POP3 server, finger server, multiple domains, no need for users to have a real system account, SMTP relay checking, RBL/RSS/ORBS/DUL and custom ( IP based and address based ) spam protection, SMTP authentication ( PLAIN LOGIN CRAM-MD5 POP3-before-SMTP and custom ), a POP3 account syncronizer with external POP3 accounts, account aliases, domain aliases, custom mail processing, direct mail files delivery, custom mail filters, mailing lists, remote administration, custom mail exchangers, logging, and multi-platform code. XMail sources compile under GNU/Linux, FreeBSD, Solaris and NT/2K.OPTIONS
Most of XMail configuration settings are command line tunables. Switches recognized by server:XMail core
- -Ms pathname
- Mail root path.
- -Md
- Activate debug (verbose) mode.
- -Mr hours
- Activate log rotation.
- -Mx split-level
- 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.
- -MR bytes
- Set socket receive buffer size.
- -MS bytes
- Set socket send buffer size.
POP3 Server
- -Pp port
- Set POP3 server port.
- -Pt timeout
- Set POP3 session timeout (seconds) after which the server will close the connection if not receive any commands.
- -Pl
- Enable POP3 logging.
- -Pw timeout
- Set the delay timeout in response to a bad POP3 login. Such time will be doubled at the next bad login.
- -Ph
- Hang the connection in bad login response.
- -PI ip[:port]
- Bind server to the specified ip address and optional port ( can be multiple ).
- -PX nthreads
- Set the maximum number of threads for POP3 server.
SMTP Server
- -Sp port
- Set SMTP server port.
- -St timeout
- Set SMTP session timeout in seconds after which the server will close the connection if not receive any commands.
- -Sl timeout
- Enable SMTP logging.
- -SI ip[:port]
- Bind server to the specified ip address and optional port ( can be multiple ).
- -SX nthreads
- Set the maximum number of threads for SMTP server.
- -Sr maxrcpts
- Set the maximu number of recipients for a single SMTP message ( default 100 ).
- -Se nsecs
- Set the expire timeout for a POP3 authentication IP ( default 900 ).
SMTP Queue Processing
- -Qn nthreads
- Set the number of mailer threads.
- -Qt timeout
- Set the timeout to be waited for a next try after send failure. Default 480.
- -Qi ratio
- Set the increment ratio of the reschedule time in sending a messages. At every failure in delivery a message, reschedule time T is incremented by ( T / ratio ), therefore T(i) = T(i-1) + T(i-1)/ratio. If You set this ratio to zero, T remain unchanged over delivery tentatives. Default 16.
- -Qr nretries
- Set the maximum number of times to try to send the message. Default 32.
- -Ql
- Enable SMAIL logging.
POP3 Account synchronization
- -Yi interval
- Set external POP3 accounts sync interval. Default 120.
- -Yt nthreads
- Set the number of POP3 sync threads.
Finger server
- -Fp port
- Set FINGER server port.
- -Fl
- Enable FINGER logging.
- -FI ip[:port]
- Bind server to the specified ip address and optional port ( can be multiple ).
Remote administration server
- -Cp port
- Set CTRL server port.
- -Ct timeout
- Set CTRL session timeout after which the server will close the connection if not receive any commands.
- -Cl
- Enable CTRL logging.
- -CI ip[:port]
- Bind server to the specified ip address and optional port ( can be multiple ).
- -CX nthreads
- Set the maximum number of threads for CTRL server.
Local mail processing
- -Ln nthreads
- Set the number of local mailer threads.
- -Lt timeout
- Set the sleep timeout for LMAIL threads. Default 2 sec.
- -Ll
- Enable local mail logging.
ENVIRONMENT
- MAIL_ROOT
- XMail root directory.
- MAIL_CMD_LINE
- Command line arguments.
NOTES
If XMail catches signal SIGINT, it performs a clean shutdown. Shutdown operation may take some time.AUTHOR
XMail program was written by Davide Libenzi <[email protected]>. This manual page was written by Radim Kolar <[email protected]>, for the Debian GNU/Linux system (but may be used by others).