Manual Configuration on Linux

  1. Install AfterLogic XMail Server.

  2. Log as root.

  3. Install the package with the supplied with MailRoot directory where you want it to reside (normally /var/lib/axms/MailRoot for Debian-based distros and or /var/MailRoot for all other).

  4. Do a # chmod 700 /var/MailRoot to setup MailRoot directory access rights.

  5. If you have 'inetd' installed, comment out the lines of '/etc/inetd.conf' that involve SMTP, POP3, and Finger. Restart 'inetd' (kill -HUP ...).

  6. Since AfterLogic XMail Server use syslog to log messages, enable syslogd if it's not running.

  7. Setup the 'SERVER.TAB' configuration option (after reading the rest of this document well).

  8. Add your users and domains (after reading the rest of this document well).

  9. Change or comment out (#) the example account in 'ctrlaccounts.tab' by using non-trivial username and password.

  10. Copy the "axms" startup script to your init.d directory (its position depends on your distro). If you've setup AfterLogic XMail Server to work in a subdirectory other than 'MailRoot' you must edit axms startup script to customize its boot.

  11. Use the 'sysv_inst.sh' shell script (from root user) to create SysV boot script - unless your distro has other tools to do this.

  12. To start AfterLogic XMail Server without reboot you can run (from root): /etc/rc.d/init.d/axms start otherwise reboot your machine.

  13. Setup the file 'smtprelay.tab' if you want to extend mail relaying to IPs out of the internet's private IP blocks (or you want to deny even those - that comes enabled by default with AfterLogic XMail Server).

  14. Look at [SSL CONFIGURATION] for information about how to create the required 'SERVER.KEY' and 'SERVER.CERT' files.

For further configuration options, please see the [COMMAND LINE] section.