My activities New request

contact atmail support

PH: +61 (7) 5357-6605

support@atmail.com

Follow

Server + WebMail Installation

Stewart -

PROBLEM
I'm not sure how to install Atmail Server + WebMail.

ENVIRONMENT

  • On-Premise Server + WebMail Installations: Current Version

CAUSE
Atmail has not yet been installed.

RESOLUTION

The source-installation can be used to setup the complete Server + WebMail mode of Atmail. This document will illustrate how to configure the Atmail software from source.

If you only want to setup the Atmail WebMail client, please refer to the WebMail Client Installation Guide.

Pre-Installation Notes

System Requirements

Before you install Atmail please make sure you meet the minimum Server + WebMail System Requirements.

PHP notes

Atmail 7.8+
PHP 5.4+ required for 7.8.0+

Some systems may not have PHP installed. The PHP binary is required for the installation process, and can be installed via binaries available for download on your system. For example, Debian-based systems use the package php5-cli, while RedHat-based systems may use 'php'.

RedHat-based systems
yum install php
Debian-based systems
apt-get install php5-cli

It is also important that you set a default timezone for your PHP installation. This can be done by looking at your /etc/php.ini file (or equivalent), and looking for the following line:

;date.timezone =

This can be set to your own timezone.

date.timezone = Australia/Sydney

Download

First signup as an Atmail evaluation user or download the software from the Atmail client portal.

Installation Notes

Install Script

It is recommended that you use the server-install.php script to configure your Atmail system.

The purpose of this script is to configure the Atmail application for the server, and to save the runtime settings to the main configuration.

You run the installation script by running the following commands:

tar xvfz atmail7.mailserver.tgz -C /usr/local/
cd /usr/local/atmail/
php server-install.php
Atmail must be installed under the default pathname of /usr/local/atmail/ - The atmail7.mailserver.tgz archive has the directory structure pre-setup. Using the tar command extract the archive into the /usr/local/ directory.

If hard-disk space is an issue of the selected partition, the Atmail 7 directory can be moved to another volume so long as the /usr/local/atmail directory is symbolically linked to the new directory.

Below is a walk through of the command-line installation script server-install.php:

Welcome to Atmail 7.8.0 Installation
----------------------------------

PHP Version: 5.4.16
Operating System: CentOS Linux release 7.2.1511 (Core)

This script will setup Atmail for your system

When requesting your input during the installation the default values are
presented within square brackets -- to choose the default value, hit "Enter"

[Press Enter to Continue]

Install Dependencies

Before installing Atmail, the utility will check your system has the correct system dependencies and packages installed to compile, setup and configure the software. If any packages are missing these can be automatically installed via the network and ready to continue with the installation.

Install Dependencies 
--------------------

Before installing Atmail, the utility will check your system has the correct
system dependencies and packages installed to compile, setup and configure
the software. If any packages are missing these can be automatically
installed (internet connection required).

Required Dependencies:

 * Missing epel-release
 * Missing perl-ExtUtils-MakeMaker
 * Missing pcre-devel
 * Missing mariadb-server
 * Missing mariadb-devel
 * Missing libdb4
 * Missing libdb4-devel
 * Missing php-mysql
 * Missing php-pdo
 * Missing php-gd
 * Missing php-imap
 * Missing ImageMagick
 * Missing php-mbstring
 * Missing gcc
 * Missing gcc-c++
 * Missing openssl-devel
 * Missing httpd-devel
 * Missing perl-HTML-Parser
 * Missing perl-IO-Compress
 * Missing perl-URI
 * Missing perl-libwww-perl
 * Missing libidn-devel
 * Missing zlib-devel
 * Missing openssl-devel
 * Missing patch
 * Missing autoconf
 * Missing automake
 * Missing readline-devel
 * Missing attr
 * Missing openldap-devel
 * Missing php-dom
 * Missing gettext-devel
 * Missing libtool

Install missing dependencies automatically? [Y/n] [Y]:

Install Prerequisites

The installer will check your system has the required PHP runtime settings. You can install the optional PHP extensions via your system package manager or via the PHP pecl system. The installer will also scan your php.ini configuration file and make the required adjustments for Atmail.

  • Safe mode, recommended OFF - Atmail requires safe-mode off by default
  • Register globals, recommended OFF - This feature is recommended to be turned off for security
  • Magic quotes, recommended OFF - The magic_quotes_gpc setting must be turned off in the php.ini
  • File uploads, recommended ON - Required for attaching files to emails
  • Max Filesize Upload, recommended 16M or higher. Increase for larger attachment support
  • Maximum Size of POST data, recommended 16M or higher - Recommended max post size for attachments
Install Dependencies 
--------------------

Before installing Atmail, the utility will check your system has the correct
system dependencies and packages installed to compile, setup and configure
the software. If any packages are missing these can be automatically
installed (internet connection required).

Required Dependencies:

* All Dependencies are correctly installed.

 * MySQL Library for PHP: OK
 * PDO MySQL Library for PHP: OK
 * PCRE (Perl Compatible Regular Expressions) Library: OK
 * PHP Session support: OK
 * PHP mbstring support: OK
 * PHP ctype support: OK
 * DOM Extension for PHP: OK

Optional PHP Extensions:

 * OpenSSL Extension for PHP: OK
 * ICONV Extension for PHP: OK
 * GD Extension for PHP: OK
 * IMAP Extension for PHP: OK

Optional PHP Extensions for encrypted data:

 * MCRYPT or OpenSSL Extension for PHP: OK

php.ini Settings:

 * Safe Mode Off: OK
 * Session Auto Start Off: OK
 * Default Port Set: FIXED - Default port now set to 3306
 * Register Globals Off: OK
 * File Uploads Allowed: OK
 * Magic Quotes GPC Off: OK
 * Display Errors: OK
 * Maximum upload File Size at least 16M: OK
 * Maximum Size of POST data at least 16M: OK
 * Maximum amount of memory usage at least 96M: OK

Missing PHP init settings have been set, however you may need to re-run the installation script to initialize PHP correctly
Please run:

php server-install.php
If your mysql tests fail to connect.


[Press Enter to Continue with installation]

MySQL Database System Configuration

The following few prompts will set up your MySQL Database for Atmail 7. You will need to supply a MySQL user that has permission to create databases.

Using Atmail 7 you can scale the software solution by storing user email/account information on a separate machine from the webserver.

It is recommended to use Atmail 7 and MySQL on the same machine for user-bases under < 10,000 accounts.

If the MySQL server is setup on the same machine leave the 'Hostname' field blank. This will make Atmail 7 communicate with the database server directly rather than opening a TCP/IP connection.

MySQL Database Setup 
--------------------        
The following few prompts will set up your MySQL Database for Atmail.
You will need to supply an MySQL user that has permission to create databases.
Enter your MySQL server's hostname or IP address [127.0.0.1]:

Enter username for database [root]:

Enter password for root:

Connected to MySQL Server!

Select the database to use or enter the name of a new database to create:

[1] information_schema
[2] mysql
[3] performance_schema
[4] test

Choose the name you would like to use for the MySQL database for the Atmail system. Databases already present are listed above, if you want to choose one of those as the Atmail database then select the appropriate number from the list. Otherwise, enter the name that you would like to use. A typical name for the Atmail database is 'atmail' but you can choose any database name that is appropriate for your system (choose a number from the list or enter a name for a new database): atmail7

The database atmail7 was created for Atmail

Creating Atmail database tables on atmail7...

Altering selected tables for mySQL InnoDB format ( if supported by your mySQL version )

Atmail tables successfully created.

Would you like to store Atmail Logs into a different database? [N]: y
        
The following few prompts will set up your MySQL Database for Atmail Logs.
You will need to supply an MySQL user that has permission to create databases.
Enter your MySQL server's hostname or IP address [127.0.0.1]:

Enter username for database [root]:

Enter password for root:

Connected to MySQL Server!

Select the database to use or enter the name of a new database to create:

[1] information_schema
[2] atmail7
[3] mysql
[4] performance_schema
[5] test

Choose the name you would like to use for the MySQL database for the Atmail Logs system. Databases already present are listed above, if you want to choose one of those as the Atmail Logs database then select the appropriate number from the list. Otherwise, enter the name that you would like to use. A typical name for the Atmail Logs database is 'atmail' but you can choose any database name that is appropriate for your system (choose a number from the list or enter a name for a new database): atmail7logs

The database atmail7logs was created for Atmail Logs

Creating Atmail Logs database tables on atmail7logs...
Atmail Logs tables successfully created.
MySQL setup complete!

WebServer Configuration

WebServer Configuration
-----------------------

Specify the binary location of your Webserver:  [/usr/sbin/httpd]:
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message

Is '/etc/httpd/conf/httpd.conf' the correct location of your Apache config file? [Y]:

Atmail is scanning your WebServer Configuration. The webserver may require
configuration to recognize Atmail.

Webserver include dir : /etc/httpd/conf.d ...
Parsing /etc/httpd/conf/httpd.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/00-base.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/00-dav.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/00-lua.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/00-mpm.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/00-proxy.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/00-systemd.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/01-cgi.conf ...
Parsing Webserver include file /etc/httpd/conf.modules.d/10-php.conf ...
DocumentRoot: /var/www/html


ExecCGI Permitted for /usr/local/atmail/webmail: FAIL

Solution:
The ExecCGI tag is required to allow PHP scripts to be executed in the
/usr/local/atmail/webmail directory.

-> Add the following to  . You must do this manually (for advanced
httpd.conf configurations) or select to automatically edit the configuration
file below.

Append the following to the httpd.conf:

<Directory "/usr/local/atmail/webmail">
    Options ExecCGI FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


Edit httpd.conf automatically? [Y]:

Your webserver configuration was backed up to : /etc/httpd/conf/httpd.conf.atmail_backup-2016-07-12_14:07:51


Alias URL setup for Atmail: FAIL

Solution:
The Alias tag is required to access Atmail via the URL /mail/ on your server.

-> Add the following to /etc/httpd/conf/httpd.conf . You must do this manually (for advanced
httpd.conf configurations) or select to automatically edit the configuration
file below.

Append the following to the httpd.conf:

Alias /mail /usr/local/atmail/webmail


Edit httpd.conf automatically? [Y]:
Default Character Encoding: OK

Webserver permissions for Atmail: FAIL

Solution:
The runtime Webserver user must be changed from apache
to the username 'atmail' . This is required for Atmail Server Mode.

-> Add the following to /etc/httpd/conf/httpd.conf. You must do this manually (for advanced
httpd.conf configurations) or select to automatically edit the configuration
file below.

Replace the following:

User apache
`
To read:

User atmail

Edit httpd.conf automatically? [Y]:

WebServer Gzip compression: Detected

Within Apache 2 the mod_deflate module can be used to automatically compress
the output of the Atmail interface to the user's browser.

Compression can increase the performance dramatically for users on a slower
link ( e.g dialup or congested network ) . The mod_deflate feature can
compress between 15-60%+ of HTML output via the Webserver.

This installation utility can automatically configure the Webserver to enable
GZIP compression.

Edit webserver configuration automatically? [Y]:
Copying GZIP configuration file to /etc/httpd/conf.d/atmail-gzip.conf


Apache mod_expires module: Detected

Within Apache 2 the mod_expires module can be used to force browsers to cache
the images/Javascript and CSS used by the Atmail interface. This can
dramatically increase performance for loading the GUI frontend.

This installation utility can automatically configure Apache to enable the
mod-expires feature for the Atmail application.
Edit webserver configuration automatically? [Y]:
Copying GZIP configuration to /etc/httpd/conf.d/atmail-expires.conf

WebServer mod_rewrite module: OK

DAV support: Detected

Solution:
Atmail includes a complete CalDAV (Calendaring) and CardDAV (Contact)
server. For remote desktop-clients and mobile (eg iOS) devices to connect,
Apache must be configured to accept connections for *DAV services.

Edit webserver configuration automatically? [Y]:
Copying DAV configuration file to /etc/httpd/conf.d/atmail-dav.conf



The installer has edited your httpd.conf (/etc/httpd/conf/httpd.conf).

For changes to take effect, you are required to restart  Apache.
The installer can attempt to restart Apache (if this fails, restart the
Apache service manually).

Restart HTTPD automatically? [Y]:

SELinux Configuration

SELinux Configuration
---------------------

SELinux support is detected as active on your server. The SELinux architecture
enforces many kinds of mandatory access control policies. This module must
be disabled to correctly run the Atmail software.

Disable SELinux Support ( required ) [Y]:
Disabling Selinux support ...

Atmail Master Key

Atmail Master Key
-----------------

Atmail can use two way encrypted user session data.

A master key must be provided for this purpose.
This key is VERY IMPORTANT and should have a SECURE BACKUP made.

You MAY skip this step by entering "PLAIN" in this field, however the
system will store user session data in base 64 encoded PLAIN TEXT
so this is NOT recommended.

Valid characters:
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
~`!@#$%^&*()_+-=[]\{}|;:<>?,./'

Please specify your own master key or use the auto generated one provided.

Generating master key... please wait.

KEY:
==============START===============
 @Mj3]vLAP,u~<JG/yb$iw=grTqhM{dc9
 6O#bmW[UCii_f(^|.Gk%XuzcR.}O;yU:
 Y0`Kt7IQxM![.OMJE4E{Z&\ZFlSB|
===============END================


Enter your master key or return to accept generated [ACCEPT]:

Atmail Password Storage

Atmail Password Storage
-----------------

Atmail can use one way hashing or two way encryption for user password storage.

Available authenticators:
PLAIN.b64 Base64 Encoded PLAIN TEXT - NOT RECOMMENDED
PLAIN PLAIN TEXT - NOT RECOMMENDED
MD5
MD5-CRYPT
BLF-CRYPT
SSHA256
SSHA512

Please specify your preferred password storage function or accept the default to use the best available

Enter your preferred password storage function [SSHA512]:

Atmail WebAdmin

Atmail includes a WebAdmin control-panel for administration of the Atmail system, including system management, users, and more.

Please specify the admin email-address and password to WebAdmin access.

Atmail WebAdmin
---------------

Atmail includes a WebAdmin control-panel for administration of the Atmail
system, including system management, users, and more.

The username for the admin system is fixed as 'admin'. You will now be prompted:
first for an e-mail address to act as the contact point for admin purposes, and
second for your choice of password to use to log in to the admin system.

Enter admin email address: admin@domain.com
Specify admin password:
Verify admin password:
Passwords match.
Adding new Admin username to database

For access rights to the WebAdmin use the following details:

Username: admin
Password: ********
URL: http://localhost/mail/index.php/admin/

Or click the Webadmin link on the Atmail login page

Domain Name Configuration

Please specify the domain names for which you wish to configure for Atmail. At least one domain name must be specified to complete the installation. Enter domain names for which you wish to host email accounts. Separate multiple domains by a comma.

Domain Configuration
--------------------

Please specify the domain names for which you wish to configure for Atmail. At
least one domain name must be specified to complete the installation. Enter
domain names for which you wish to host email accounts. Separate multiple
domains by a comma.

Specify Domains: domain.com

Creating MailDir directory structure...
Next Steps

In the next steps of configuration, the installation utility will compile the SMTP server ( Exim ), POP3/IMAP server, and optionally, SpamAssassin and AV scanner from source.

Before installing these modules your system must have the gcc compiler installed with the relevant system libraries/headers ( gcc is installed as standard under common Unix platforms ).

The MySQL header and library files are also required to be installed before installation. These library files should be installed by default with MySQL, otherwise you can obtain the header/library files from the Mysql.com site ( Download the RPM or binary for your selected system, otherwise build the mySQL server from source).

SMTP Configuration

SMTP Configuration
------------------

The installer is now ready to build the Atmail SMTP server for this installation.

Verify that any existing SMTP servers have been disabled so that they are both (i) not
currently running, and (ii) are also prevented from starting on rebooting the system.

Install the SMTP server from source? : [Y]:

Once complete you should see the following.

Atmail SMTP Server Installation: SUCCESSFUL

Installing the POP3/IMAP Server

Atmail POP3/IMAP Server
-----------------------

If you are installing Atmail in Server Mode, you can setup the additional
POP3/IMAP module. This allows users to access their webmail account via any
POP3/IMAP client (Outlook, Thunderbird, etc) .

Validate you have turned off any existing POP3/IMAP that are active, and
remove these from any startup files to avoid conflicts when running Atmail.

Install Atmail POP3/IMAP Server? : [Y]:

Atmail SSL Server
-----------------

If you have existing SSL certificates, you can now use them with Atmail. Choose Y.
If you don't have an existing SSL certificate, choose N at the following prompt.
Atmail will then create a self-signed certificate for you. This certificate will allow
encryption, but can cause errors with specific clients.

Use existing SSL certificates? : [N]:

Once complete you should see the following.

Atmail POP3/IMAP Server Installation: SUCCESSFUL

Compile & installation complete
Optional SpamAssassin and Anti-Virus Installation

Spamassassin Anti-Spam

Optionally, the SpamAssassin mail-filter can be installed to protect user accounts from Spam messages. Inbound messages are checked against a variety of rulesets and checksums to validate if a message is Spam.

Spamassassin Anti-Spam
----------------------

Optionally, the Spamassassin mail-filter can be installed to protect user
accounts from Spam messages. Inbound messages are checked against a variety of
rulesets and checksums to validate if a message is Spam

Install Spamassassin from source? : [Y]:

Once complete you should see the following.

SpamAssassin Installation: SUCCESSFUL

Anti-Virus Engine

Optionally, the Atmail-Clam AntiVirus engine can be installed to protect user accounts from virus infection.

Anti-Virus Engine
-----------------

Optionally, the Atmail-Clam AntiVirus engine can be installed to protect user
accounts from virus infection.

Install AV Engine from source? : [Y]:

Once complete you should see the following.

Atmail AV Installation:  SUCCESSFUL
Compile & installation complete

Installation Complete

Atmail bundles a script that will do the following on a daily basis:

    * Update ClamAV virus definitions
    * Update SpamAssassin filters
    * Run salearn on mail to help SpamAssassin learn what is and isn't spam.

Would you like this script enabled? [Y]:
2016-07-12 15:00:22 Warning: No server certificate defined; TLS connections will fail.
 Suggested action: either install a certificate or change tls_advertise_hosts option
2016-07-12 15:00:22 Warning: No server certificate defined; TLS connections will fail.
 Suggested action: either install a certificate or change tls_advertise_hosts option
2016-07-12 15:00:22 Warning: No server certificate defined; TLS connections will fail.
 Suggested action: either install a certificate or change tls_advertise_hosts option

Starting Atmail services, please standby ...

Starting Atmail server: av-module smtp imap pop3 spamassassin log-daemon

[Press enter to continue]
Copying logrotate configuration to /etc/logrorate.d/logrotate-atmail ...


Setting permissions ...
Changing .htaccess permissions for /usr/local/atmail/webmail/...
Touching /usr/local/atmail/webmail/log/error.log...
Touching /usr/local/atmail/webmail/log/atmail.log...
Touching /usr/local/atmail/webmail/log/imap.log...
Touching /usr/local/atmail/webmail/log/sysadmin.log...
Changing ownership to atmail:apache for /usr/local/atmail/webmail/. ...
Changing ownership to atmail:apache for /usr/local/atmail/webmail/bootloader.php ...
Changing ownership to atmail:apache for /usr/local/atmail/webmail/index.php ...
Changing ownership to atmail:apache for /usr/local/atmail/webmail/log ...
Changing ownership to atmail:apache for /usr/local/atmail/webmail/tmp ...
Changing ownership to atmail:apache for /usr/local/atmail/webmail/users ...
Changing ownership to atmail:apache for /usr/local/atmail/spamassassin ...
Changing ownership to atmail:apache for /usr/local/atmail/tmp ...
Changing ownership to atmail:apache for /usr/local/atmail/mailserver/configure ...
Changing ownership to atmail:apache for /usr/local/atmail/mailserver/etc ...
Changing ownership to atmail:apache for /usr/local/atmail/mailserver/spool ...
Changing ownership to atmail:apache for /usr/local/atmail/av ...
Changing ownership to atmail:apache for /usr/local/atmail/users ...
Changing ownership to atmail:apache for /tmp ...

Completed.

Atmail Configuration tests

Run the Atmail Diagnostic Utility to test your configuration of Atmail. The following tests will be performed:

  • Create a test user account
  • Deliver a test message to the new account
  • Send a message via the SMTP server
  • Access the new account via POP3 and IMAP
  • Verify the Calendar server is installed
Atmail Configuration tests
--------------------------

Run the Atmail Diagnostic Utility to test your configuration of Atmail. The following tests will be performed:

* Create a test user account
* Deliver a test message to the new account
* Send a message via the SMTP server
* Access the new account via POP3 and IMAP
* Verify the Calendar server is installed

Run the Atmail Diagnostic utility? : [Y]:
Running Email-Server tests for domain.com.
Adding user 317611107@domain.com...
--- Creating account: OK

--- Testing Mail Send: OK

--- Accessing IMAP: OK

--- Accessing POP3: OK

--- Testing SMTP Virus scanner: OK

--- Testing Anti-Spam scanner: OK

--- Accessing Calendar Server: OK

--- Delete account: OK

--- 8 tests passed out of 8 ( 100 % )

Installation Status

Your server is now installed with Atmail

To access the Atmail login interface, visit:

http://localhost/mail/

Replace localhost with your webserver hostname.

Registration

Once the installation is completed, you will need to register the software. Log into the WebAdmin to register the software.

URL: http://localhost/mail/index.php/admin/
Username: admin
Password: admin

Register your Atmail license with the serial-key and DownloadID given on purchase. This will activate the software for the license you purchased. Your DownloadID is now commonly known as Client ID. These terms are interchangeable, but the value is the same for both.

Optionally, signup for a 30-day, 10-user evaluation of Atmail to evaluate on your server. If you require longer, or more users, please contact our team.

User licenses can be purchase or upgraded at any time via the Atmail store.

Post-Installation Notes

CentOS 7 - Postfix

If you are planning to use your newly installed RHEL/CentOS 7 to run atmail Server + WebMail edition, you will need to remove the Postifx MTA daemon, that is installed by default on RHEL/CentOS 7.

As you will notice, Postfix is started and listens on localhost on port 25. Proceed with Postfix MTA service removal by issuing the following commands.

# systemctl stop postfix
# systemctl disable postfix # yum remove postfix

Atmail Spellchecker

Atmail has the option to install a server side spell checker. To enable the Atmail server side spell checker, do the following.

Install php-pspell

yum install php-pspell 

Install aspell

Download

Download dictionary from ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2

wget "ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2"
Extract Package
tar vxfj aspell6-en-7.1-0.tar.bz2
Install Package
cd aspell6-en-7.1-0
./configure && make && make install
Confirm Installation

Check the dictionary is successfully installed.

aspell dump dicts

If there is no output, the dictionary has not been installed successfully.

Example Output
[root@localhost ~]# aspell dump dicts
en
en-variant_0
en-variant_1
en-variant_2
en-w_accents
en-wo_accents
en_CA
en_CA-variant_0
en_CA-variant_1
en_CA-w-accents
en_CA-w_accents
en_CA-wo_accents
en_GB
en_GB-ise
en_GB-ise-w_accents
en_GB-ise-wo_accents
en_GB-ize
en_GB-ize-w_accents
en_GB-ize-wo_accents
en_GB-variant_0
en_GB-variant_1
en_GB-w-accents
en_GB-w_accents
en_GB-wo_accents
en_US
en_US-variant_0
en_US-variant_1
en_US-w-accents
en_US-w_accents
en_US-wo_accents
Enable Atmail Spellchecker

Go to WebAdmin > Settings > WebMail Settings > Enable Spell Check.

Startup Script

Atmail uses the SysV startup scheme, the atmailserver startup script will be located:

/etc/init.d/atmailserver

You can start, restart and stop the services for Atmail, by using these commands after the script, for example:

/etc/init.d/atmailserver start
/etc/init.d/atmailserver restart
/etc/init.d/atmailserver stop

Uninstall Atmail 7 Server + WebMail Installation

File System

To uninstall the Atmail 7 Server + WebMail Installation please ensure all services have been stopped. You can do this by issuing the command.

/etc/init.d/atmailserver stop

To ensure all services have stopped you can check with:

ps aux | grep atmail

There should be no 'atmail' processes running. You may now simply remove Atmail 7 Server + WebMail Installation directory.

rm -rf /usr/local/atmail/

MySQL Database

After you have removed the file system of Atmail 7 Server + WebMail Installation, you can drop the database from MySQL.

mysql -u root -p
Enter password:
mysql> drop database atmail7; mysql> drop database atmail7logs;
Have more questions? Submit a request

Comments