AfterLogic XMail Server Pro Installation Instructions (Linux)
Instructions on Linux from RPM package
Install on *nix from source distribution
AfterLogic XMail Server Pro Installation from RPM package
- Run rpm -Uvh afterlogic-xmail-pro-[VERSION].rpm and complete the installation process.
- Open http://your_server_name/AdminPanel page in your browser.
- Use "mailadm" as Login name and "12345" as Password (it is strongly recommended to change this password in the future).
- First of all, you should specify your license key. Until you do this, all other settings will be inaccessible.
-
Now, you should configure your AfterLogic XMail Server installation, in particular, enable/disable and configure e-mail protocols, logging, spam protection, change admin password, etc. These general settings are available in Server tab:
- SMTP options
- POP3 Options
- IMAP4 Options
- Errors and Bounces
- Spam Protection
- Misc. Options
- Logging
- Admin Options
-
If, during installation, you agreed to install WebMail Pro, now it's time to configure it, i.e. you should edit the following settings in WebMail tab:
- Database Settings
- Common settings
- Interface settings
- Login settings
- Calendar settings
- Debug settings
- Server Integration
-
Select "Database Settings". Choose database type you wish to use: MS SQL Server or MySQL Server. To use MS SQL Server or MySQL Server database, fill "SQL Login", "SQL Password" and "Database Name" fields. If you wish to connect through DSN, you need to fill "Data Source" field. Otherwise, to connect through TCP/IP, fill "Host" field.
If MySQL or MSSQL are used, you should click "Save" button and then "Create Tables" button (or "Update tables" button if you're about to update your WebMail installation from v4.2.x or below). If you didn't install WebMail Pro, just skip this step.
- The next step is to create necessary domains and users. You can do this in Domains and Users tabs.
- AfterLogic XMail Server Pro and WebMail Pro (if you installed it) are ready to use.
Now you can start using WebMail Pro at http://your_server_name/webmail-pro/index.php.
AfterLogic XMail Server Pro Installation from source distribution
- Unpack the source archive:
tar xivf afterlogic-xmail-pro-[VERSION].tar.bz2
cd afterlogic-xmail-pro-[VERSION]
- Build and install Afterlogic XMail Server:
make -f Makefile.lnx
cp -r MailRoot /var/
- Copy and symlink xmail startup script into actual rcX runlevel folder, for example - runlevel 3:
cp xmail /etc
chmod 755 /etc/xmail
ln -s /etc/xmail /etc/rc3.d/S99xmail
- Start AfterLogic XMail Server:
/etc/xmail start
- Copy adminpanel and webmail-pro folders contents from the source archive into a subfolder of web-folder on your web server. For example into:
/var/www/html/adminpanel and /var/www/html/webmail-pro
- Copy data folder contents from the source archive into a subfolder of web-folder on your web server (it should be inaccessible from web). For example into:
/var/www/data
- Now you should assign owners and their rights:
chown apache.apache -R /var/www/html/adminpanel
chown apache.apache -R /var/www/html/webmail-pro
find . -type f -exec chmod 644 {} \;
chmod 755 /var/www/data/log
chmod 755 /var/www/data
- Open http://your_server_name/AdminPanel page in your browser.
- Use "mailadm" as Login name and "12345" as Password (it is strongly recommended to change this password in the future).
- First of all, you should specify your license key in License Key tab. Until you do this, all other settings will be inaccessible.
-
Now, you should configure your AfterLogic XMail Server installation, in particular, enable/disable and configure e-mail protocols, logging, spam protection, change admin password, etc. These general settings are available in Server tab:
- SMTP options
- POP3 Options
- IMAP4 Options
- Errors and Bounces
- Spam Protection
- Misc. Options
- Logging
- Admin Options
-
If, during installation, you agreed to install WebMail Pro, now it's time to configure it, i.e. you should edit the following settings in WebMail tab:
- Database Settings
- Common settings
- Interface settings
- Login settings
- Calendar settings
- Debug settings
- Server Integration
- Select "Database Settings". Choose database type you wish to use: MS SQL Server or MySQL Server. To use MS SQL Server or MySQL Server database, fill "SQL Login", "SQL Password" and "Database Name" fields. If you wish to connect through DSN, you need to fill "Data Source" field. Otherwise, to connect through TCP/IP, fill "Host" field. If MySQL or MSSQL are used, you should click "Save" button and then "Create Tables" button (or "Update tables" button if you're about to update your WebMail installation from v4.2.x or below). If you didn't install WebMail Pro, just skip this step.
- The next step is to create necessary domains and users. You can do this in Domains and Users tabs.
- AfterLogic XMail Server Pro and WebMail Pro (if you installed it) are ready to use.
Now you can start using WebMail Pro at http://your_server_name/webmail-pro/index.php.