Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

The Perfect Server – OEL 5.4 [ISPConfig 3]


This tutorial shows how to prepare a OEL 5.4 (Oracle Enterprise Linux) server for the installation of ISPConfig 3, and how to install ISPConfig 3 on a distributed configuration. OEL is a clone of RedHat ES, so, both are very similar. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, PureFTPd, SpamAssassin, ClamAV, and many more.

This installation shows how to install a distributed installation with:
A computer as database server.
Another computer as Webserver, Ftpserver and Webmail.
And a third computer as email server.

All this distributed configuration is monitored and managed by a unique and integrated ISPConfig 3 console.

Please note that this setup does not work for ISPConfig 2! It is valid for ISPConfig 3 only!

I do not issue any guarantee that this will work for you!

 

Index

1 Requirements
2 How to download the O.S. Software
3 How to install the base O.S.
4 Install Mysql
5 Install Webserver and Ftpserver
6 Install Email server
7 Install Squirrelmail Webmail

 

1 Requirements

In order to do the complete installation, you need:

3 32 bits/Intel Computers, may be virtual ones, where to install the software. If you install on VMs and the VM does not allow to install a Linux OEL O.S., try to configure the VM as RedHat 5.4.
All of them will be configured on the same subnet and all must have access to the Internet to download sofware online.

For this tutorial we use the hostnames:

mysql.netbck.com with the IP address 192.168.1.211
http.netbck.com with the IP address 192.168.1.212
email.netbck.com with the IP address 192.168.1.213
The gateway 192.168.1.1
And the nameservers 62.42.230.22, 62.42.63.52

These settings might differ for you, so you have to replace them where appropriate.

 

User needed for the installation

All the installation must be made using the user root.

 

2 How to download the O.S. Software

Oracle distributes the OEL under the GNU License, so, you can download ad use this software. However, this license does not entitle you to support.

You can download the Oracle Enterprise Linux 5.4 at http://edelivery.oracle.com/linux. In order to download the software, you don’t need to register or login, but it is needed to accept the Legal Terms of the sotware.

When you go to address http://edelivery.oracle.com/linux, you can see the Welcome page: click on the Continue button.

download1

On this page you must identify yourself.

download2

Now, you must scroll down this page and agree (check) two check-boxes, marked with a red circle on the image, and Continue.

download3

In this screen you must select the product to download.
The product pack selected must be Enterprise Linux and the platform selected must be x86 32bits
Now, press the GO button.

download4

On the same page, now appears a list of available versions.
Click on Enterprise Linux Release 5 Update 4 Media Pack for x86 (32 bits):

download5

On this page there is a list of CDs/DVDs because OEL is available as:
5 binary CDs
5 source CDs
1 binary DVD
1 source DVD

We will use the binary DVD to install because is the easiest way to install.

If needed, scroll down the page, search the entry entitled Enterprise Linux Release 5 Update 4 for x86 (32 bits) – DVD and press the dowload button.

download6

If asked for, select to save the file V17793-01.zip to disk, … wait until the file V17793-01.zip downloads (2.7 Gb) …. and unzip it:

unzip V17793-01.zip

Now the iso DVD image Enterprise-R5-U4_server-i386-dvd.iso is available. You can create a Boot DVD with this image or use this image directly to install on a VM.

3 How to install the base O.S.

It is needed to install Linux O.S. on the 3 computers. The installation is the same for all of them except for the computer name and IP address.

 

3.1 Install the Linux O.S.

Boot the computer using the OEL DVD and the install screen appears: simply press the return key.

os1

You can skip the DVD Media check:

os3

Welcome screen:

os4

Select the installation language.

os5

Select your keyboard layout.

os6

Accept this screen: all data on disk will be removed.

os7

We can configure the disk layout and add disk partition. In this tutorial, we use the default layout and 3 partitions are created on disk: the boot partition, the swap partition and the 3th partition with the rest of the disk.

os8

Accept this screen: all data on disk will be removed.

os9

Now it is time to configure the network and the hostname. We must edit the network configuration: press on the Edit button.

os10

Now it is time to configure the network and the hostname. We must edit the network configuration: press on the Edit button.

os10

We enable only the IPV4 support. Also, we must work with a fixed IP.

Warning! Remember to put the IP that corresponds to every computer!

os11

Put the computer name, Gateway and DNS servers

Warning! Remember to put the corresponding name to every computer!

os12

Select yout time zone.

os13

Set the password for the root user.

os14

This screen allows to install preconfigured system types. Be sure all boxes are unchecked: We must install the needed software from the Internet.

Be sure to check the Customize Now option: this allows to not install the grafical interface.

os15

We are installing a server system and do not need a grafical interface.

On the Desktop Environment, uncheck both GNOME and KDE.

os16

On the Base System, uncheck the X Windows System.

os17

On the Base System, uncheck the X Windows System.

os18

Ready to install:

os19

os20

os21

Reboot the system:

os22

After the reboot, the setup agent screen appears. Select Firewall Configuration option and Run Tool:

os23

os25

os26

Now, the ssh server is installed and running. You can login into the computer using the console or from another computer via ssh.

3.2 Common configuration

On all computers, we must to do some additional configuration.

 

Edit /etc/hosts

Edit the /etc/hosts file to include all the computers names/IPs:

vi /etc/hosts

The file must have:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.netbck.com localhost

192.168.1.211	mysql.netbck.com mysql
192.168.1.212	http.netbck.com http
192.168.1.213	email.netbck.com email

 

Check internet access

Simply, ping any Internet address.

ping -c 5 www.google.com

You must receive an answer like:

PING www.l.google.com (209.85.229.99) 56(84) bytes of data.
64 bytes from ww-in-f99.1e100.net (209.85.229.99): icmp_seq=1 ttl=49 time=39.7 ms
64 bytes from ww-in-f99.1e100.net (209.85.229.99): icmp_seq=2 ttl=49 time=39.9 ms
64 bytes from ww-in-f99.1e100.net (209.85.229.99): icmp_seq=3 ttl=49 time=39.6 ms
64 bytes from ww-in-f99.1e100.net (209.85.229.99): icmp_seq=4 ttl=49 time=39.8 ms
64 bytes from ww-in-f99.1e100.net (209.85.229.99): icmp_seq=5 ttl=49 time=39.8 ms

— www.l.google.com ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4020ms
rtt min/avg/max/mdev = 39.689/39.834/39.921/0.085 ms

If you have problems accessing the Internet try adding the default Gateway Device:

vi /etc/sysconfig/network

The file will look like (substitute eth0 with the device you use to access the Internet):

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=mysql.netbck.com
GATEWAY=192.168.1.1
GATEWAYDEV=eth0

And then execute:

service network restart

 

Prepare the system to download online software

We will download software online. Now, we add the needed repositories.

Execute:

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-el5.repo
vi public-yum-el5.repo

Change all occurrences of enable=0 with enable=1.

The file must contain:

name=Enterprise Linux $releasever GA - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/0/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

[el5_u1_base]
name=Enterprise Linux $releasever U1 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/1/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

[el5_u2_base]
name=Enterprise Linux $releasever U2 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/2/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

[el5_u3_base]
name=Enterprise Linux $releasever U3 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/3/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

[el5_u4_base]
name=Enterprise Linux $releasever U4 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/4/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

[el5_addons]
name=Enterprise Linux $releasever - $basearch - addons
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

[el5_oracle_addons]
name=Enterprise Linux $releasever - $basearch - oracle_addons
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1

Add more repositories and upgrade the installed packages:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install apt ghostscript-fonts
apt-get update
apt-get upgrade

 

Synchronize the server clock

To maintain all systems synchronized, simply execute:

chkconfig –levels 235 ntpd on
/etc/init.d/ntpd start

 

4 Install MySQL

Now, we are ready to install MySQL, Phpmyadmin and ISPConfig on computer mysql.

 

Install MySQL itself

The installation of MySQL is very simple. Execute:

yum install mysql-server mysql

This simple command installs MySQL and its dependencies.

If you want that MySQL databases are created on another disk or partition, now you can mount it at /var/lib/mysql and give permission to mysql:mysql

Start the mysql engine and set the password for the main user root. Execute:

chkconfig –level 235 mysqld on
service mysqld start
mysqladmin -u root password xxxx

Now, we can login into mysql:

mysql -u root -p
Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8520
Server version: 5.0.77 Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql>

We can connect to mysql from localhost. In order to allow the conexion from mysql.netbck.com, we need to execute (connected to mysql):

mysql> SET PASSWORD FOR ‘root’@’mysql.netbck.com’ = PASSWORD(‘xxxx’);

 

Install phpMyAdmin (optional)

phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web.

First, install Apache and PHP and allow Autostart of Apache by executing:

yum install httpd php php-mysql php-mbstring mysql-devel mhash gcc libmcrypt
chkconfig –level 235 httpd on
service httpd restart

Install php_mcrypt. Execute:

cd /tmp
wget ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/5/i386/php-mcrypt-5.1.6-5.el5.i386.rpm
rpm -ivh php-mcrypt-5.1.6-5.el5.i386.rpm

And install phpMyAdmin:

yum install phpmyadmin

By default, phpMyAdmin is only accessible from localhost. You can allow the access from other computers by editing the /etc/httpd/conf.d/phpmyadmin.conf file.

vi /etc/httpd/conf.d/phpmyadmin.conf

Add lines of type Allow. Example of a complete file:

#
#  Web application to manage MySQL
#


  Order Deny,Allow
  Deny from all
  Allow from 127.0.0.1
  Allow from 192.168


Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin

You must fill the phpMyAdmin blowfish_secret with some sentence.

vi /usr/share/phpmyadmin/config.inc.php

Put some string in the line $cfg[‘blowfish_secret’] = ”; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Example: $cfg[‘blowfish_secret’] = ‘something‘; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Restart Apache…

service httpd restart

… and, now, phpMyAdmin is accessible at http://mysql.netbck.com/phpmyadmin.

 

Install and configure ISPConfig

On a distributed configuration, it is needed to install and configure ISPConfig on every computer. All ISPConfig needs is a local MySQL database and all ISPConfigs, except the first to install, must join the existing environment.

On the other hand, we must define the computers that can be ISPConfig webservers.

For this installation, the first computer to install ISPConfig and the unique ISPConfig WebServer is mysql.netbck.com.

To install and configure ISPConfig, we must execute:

cd /tmp
wget http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.2.1.tar.gz?use_mirror=
tar xvfz ISPConfig-3.0.2.1.tar.gz
cd ispconfig3_install/install/
php -q install.php


——————————————————————————–
_____ ___________   _____              __ _
|_   _/  ___| ___ \ /  __ \            / _(_)
| | \ `–.| |_/ / | /  \/ ___  _ __ | |_ _  __ _
| |  `–. \  __/  | |    / _ \| ‘_ \|  _| |/ _` |
_| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
\___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
——————————————————————————–

Operating System: Redhat or compatible, unknown version.

    Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in “quit” (without the quotes) to stop the installer.

Select language (en,de) [en]: <—- ENTER
Installation mode (standard,expert) [standard]: expert <—- expert

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [mysql.netbck.com]: <—- ENTER

MySQL server hostname [localhost]: mysql.netbck.com <—- mysql.netbck.com (the full name of mysql server)

MySQL root username [root]: <—- ENTER

MySQL root password []: xxxxxx <—- mysql password of root user

MySQL database to create [dbispconfig]: <—- ENTER

MySQL charset [utf8]: <—- ENTER

Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: <—- ENTER (n) because it is the first ISPConfig installation

Adding ISPConfig server record to database.

Configure Mail (y,n) [y]: n <—- n

Configure Jailkit (y,n) [y]: n <—- n

Configure FTP Server (y,n) [y]: n <—- n

Configure DNS Server (y,n) [y]: n <—- n

Hint: If this server shall run the ispconfig interface, select ‘y’ in the ‘Configure Apache Server’ option.

Configure Apache Server (y,n) [y]: <—- ENTER (y) because this computer will be the ISPConfig Webserver

Configuring Apache
Configuring vlogger
Configuring Apps vhost
Configure Firewall Server (y,n) [y]: <—- ENTER

Configuring Firewall
Install ISPConfig Web-Interface (y,n) [y]: <—- ENTER (y) because this computer will be the ISPConfig Webserver

Installing ISPConfig
ISPConfig Port [8080]: 80 <—- try the port you want

chown: `getmail’: invalid user
Configuring DBServer
Installing Crontab
no crontab for root
Stopping httpd: [ OK ]
[Sun Mar 28 00:28:42 2010] [warn] NameVirtualHost *:443 has no VirtualHosts
[Sun Mar 28 00:28:42 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
Starting httpd: [ OK ]
Installation completed.

ISPConfig is accessible at http://mail.netbck.com.
We need to configure the services that computer mail.netbck.com accepts (only mysql).
So, access ISPConfig 3 under http://mail.netbck.com. Log in with the username admin and the password admin (you should change the default password after your first login):

isp1

By default, all options are enabled.

isp2

We must entry in mysql.netbck.com option and uncheck all options but DB-Server:

isp3

5 Install Webserver and Ftpserver

On computer http.netbck.com we will install:

Apache
Pure-Ftpd
Mysql
vloger
Webalizer
Jailkit
fail2ban
rkhunter
ISPConfig

and, after the email installation, squirrelmail (and the optional EGroupware package).

We install MySQL because it is needed by ISPConfig.

The rest of the packages are needed packages for a Webserver: Apache itself, Pure-Ftpd to allow upload of Web pages and packages to control login and report usages and logs.

 

Install Apache with suPHP, Mysql and Mcrypt

Download basic packages and start httpd and mysql.

yum install httpd php php-mysql php-mbstring rpm-build gcc openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel expect libtool-ltdl-devel libtool gdbm-devel gamin-devel mysql-server mod_suphp

If you want that web disk space are created on another disk or partition, now you can mount it at /var/www.

If you want that user disk space are created on another disk or partition, now you can mount it at /home.

chkconfig –level 235 httpd on
chkconfig –level 235 mysqld on
/etc/init.d/mysqld start
/etc/init.d/httpd start

Set the root password for mysql:

mysqladmin -u root password xxxx

Install Mcrypt:

yum install mhash gcc libmcrypt
cd /tmp
wget ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/5/i386/php-mcrypt-5.1.6-5.el5.i386.rpm
rpm -ivh php-mcrypt-5.1.6-5.el5.i386.rpm

 

Install and start Pure-Ftpd

yum install pure-ftpd
chkconfig –levels 235 pure-ftpd on
/etc/init.d/pure-ftpd start

 

Install Vlogger And Webalizer

yum install webalizer perl-DateTime-Format-HTTP perl-DateTime-Format-Builder
cd /tmp
wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*

 

Install Jailkit

Jailkit is needed only if you want to chroot SSH users.

cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.11.tar.gz
tar xvfz jailkit-2.11.tar.gz
cd jailkit-2.11
./configure
make
make install
cd ..
rm -rf jailkit-2.11*

 

Install fail2ban and rkhunter

yum install fail2ban rkhunter
chkconfig –levels 235 fail2ban on
/etc/init.d/fail2ban start

 

Grant Mysql Privileges on mysql.netbck.com conmputer

All those actions must be done on mysql.netbck.com computer.

Before we install ISPConfig, we need to allow logins to the ispconfig database on mysql.netbck.com from http.netbck.com computer.

We must execute the following SQL sentences:

mysql -u root -p
GRANT ALL PRIVILEGES ON *.* TO root@’192.168.1.212′ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO root@’http.netbck.com’ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
flush privileges;

The whole session must look like:

mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8274
Server version: 5.0.77 Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> GRANT ALL PRIVILEGES ON *.* TO root@’192.168.1.212′ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO root@’http.netbck.com’ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> Bye

End of actions to be done on mysql.netbck.com computer.

From now, all actions must be done on http.netbck.com computer.

 

Install ISPConfig

On a distributed configuration, it is needed to install and configure ISPConfig on all computers. The configuration of ISPConfig on this computer must join the ISPConfig on computer mysql.netbck.com.

Also, every computer must have its MySQL database. So, when configuring ISPConfig, first we must answer about the local MySQL database, then say that we want to join an existing ISPConfig configuration and answer about the remote MySQL database.

Synchonization between databases is done automaticaly by the system.

To install and configure ISPConfig, we must do the following:

cd /tmp
wget http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.2.1.tar.gz?use_mirror=
tar xvfz ISPConfig-3.0.2.1.tar.gz
cd ispconfig3_install/install/
php -q install.php


——————————————————————————–
_____ ___________   _____              __ _
|_   _/  ___| ___ \ /  __ \            / _(_)
| | \ `–.| |_/ / | /  \/ ___  _ __ | |_ _  __ _
| |  `–. \  __/  | |    / _ \| ‘_ \|  _| |/ _` |
_| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
\___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
——————————————————————————–

>> Initial configuration

Operating System: Redhat or compatible, unknown version.

    Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in “quit” (without the quotes) to stop the installer.

Select language (en,de) [en]: <—- ENTER

Installation mode (standard,expert) [standard]: expert <—- expert

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [http.netbck.com]: <—- ENTER

MySQL server hostname [localhost]: <—- ENTER

MySQL root username [root]: <—- ENTER

MySQL root password []: xxxx <—- root’s password

MySQL database to create [dbispconfig]: <—- ENTER

MySQL charset [utf8]: <—- ENTER

Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y <—- y (join an existing ISPConfig multiserver)

MySQL master server hostname []: mysql.netbck.com <—- mysql.netbck.com

MySQL master server root username [root]: <—- ENTER

MySQL master server root password []: xxxx <—- root’s password at mysql.netbck.com

MySQL master server database name [dbispconfig]: <—- ENTER

Adding ISPConfig server record to database.
Configure Mail (y,n) [y]: n <—- n

Configure Jailkit (y,n) [y]: <—- ENTER

Configuring Jailkit
Configure FTP Server (y,n) [y]: <—- ENTER

Configuring Pureftpd
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
Configure DNS Server (y,n) [y]: n <—- n

Hint: If this server shall run the ispconfig interface, select ‘y’ in the ‘Configure Apache Server’ option.

Configure Apache Server (y,n) [y]: <—- ENTER

Configuring Apache
Configuring vlogger
Configuring Apps vhost
Configure Firewall Server (y,n) [y]: n <—- n

Configuring Firewall
Install ISPConfig Web-Interface (y,n) [y]: n <—- n (only configured at mysql.netbck.com)

Installing ISPConfig
ISPConfig Port [8080]: <—- ENTER

chown: `getmail’: invalid user
Configuring DBServer
Installing Crontab
no crontab for root
Stopping httpd: [ OK ]
[Thu Apr 01 16:17:00 2010] [warn] NameVirtualHost *:443 has no VirtualHosts
[Thu Apr 01 16:17:00 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
Starting httpd: [ OK ]
Installation completed.

Log into ISPConfig at http://mail.netbck.com and allow to http.netbck.com server only the installed options: Web, File and Vserver.

isp4

Configuration needed for Web Traffic accounting

If you want to have statistics about Web Traffic, you need to configure Apache Log Format and install Zimbra.

You must to configure Apache Log Format to add the Virtual Host on the logfile. Without this information, vlogger is unable to know the Virtual Host.

vi /etc/httpd/conf/http.conf

Change the line:

LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined

And add an uppercase %V at the beginning. The line must be replaced by:

LogFormat “%V %h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined

service httpd restart

Installing and configuring Zimbra is a bit more complex. Execute:

yum install sudo libidn gmp compat-libstdc nptl sysstat
cd /tmp
wget http://files2.zimbra.com/downloads/6.0.5_GA/zcs-6.0.5_GA_2213.RHEL5.20100202220948.tgz
tar xvfz zcs-6.0.5_GA_2213.RHEL5.20100202220948.tgz
cd zcs-6.0.5_GA_2213.RHEL5.20100202220948
./install.sh

Operations logged to /tmp/install.log.31859
Checking for existing installation…
zimbra-ldap…NOT FOUND
zimbra-logger…NOT FOUND
zimbra-mta…NOT FOUND
zimbra-snmp…NOT FOUND
zimbra-store…NOT FOUND
zimbra-apache…NOT FOUND
zimbra-spell…NOT FOUND
zimbra-convertd…NOT FOUND
zimbra-memcached…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-cluster…NOT FOUND
zimbra-core…NOT FOUND

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. (“ZIMBRA”) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html

Press Return to continue <—- ENTER
Checking for prerequisites…
FOUND: NPTL
FOUND: sudo-1.6.9p17-5
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: compat-libstdc++-33-3.2.3-61
FOUND: /usr/lib/libstdc++.so.5
FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites…
FOUND: perl-5.8.8
FOUND: sysstat
Prerequisite check complete.

Checking for installable packages

Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy

Select the packages to install

Install zimbra-ldap [Y] n <—- n

Install zimbra-logger [Y] <—- ENTER

Install zimbra-mta [Y] n <—- n

Install zimbra-snmp [Y] n <—- n

Install zimbra-store [Y] n <—- n

Install zimbra-apache [Y] n <—- n

Install zimbra-spell [Y] <—- ENTER

Install zimbra-memcached [N] <—- ENTER

Install zimbra-proxy [N] <—- ENTER
Checking required space for zimbra-core

Installing:
zimbra-core
zimbra-logger
zimbra-apache
zimbra-spell

The system will be modified. Continue? [N] Y <—- Y

Removing /opt/zimbra
Removing zimbra crontab entry…done.
done.
Cleaning up zimbra init scripts…done.
Cleaning up /etc/ld.so.conf…done.
Cleaning up /etc/prelink.conf…done.
Cleaning up /etc/security/limits.conf…done.

Finished removing Zimbra Collaboration Suite.

Installing packages

zimbra-core……zimbra-core-6.0.5_GA_2213.RHEL5-20100202220948.i386.rpm…

And now, you must edit the file /usr/local/ispconfig/server/scripts/vlogger:

vi /usr/local/ispconfig/server/scripts/vlogger

Near the line 150, there is a line that says: use Date::Format;.
Before this line, you must add the line: use lib ‘/opt/zimbra/zimbramon/lib/’;

That is: this portion of the file must look as:

use lib '/opt/zimbra/zimbramon/lib/';
use Date::Format;

That’s all, folks!!!. The system is ready to account Web traffic.

isp7

6 Install Email server

On computer email.netbck.com we will install:

Postfix with quota support
Dovecot
Amavis
Spamassassin
Clamav
Mysql
Fail2ban
and Rkhunter.

We install MySQL because it is needed by ISPConfig. Webmail will be installed later on computer http.netbck.com.

 

Install Mysql

To install MySQL and set the root password, we must do:

yum install gcc openssl-devel mysql-server
chkconfig –levels 235 mysqld on
/etc/init.d/mysqld start
mysqladmin -u root password xxxx

 

Install postfix with quota support

Install some required packages:

yum install rpm-build db4-devel openldap-devel mysql-devel

We need to install a special configuration of postfix. So, we need to install from sources:

Get postfix source code:

cd /usr/src
wget http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.6-1.src.rpm
rpm -ivh postfix-2.5.6-1.src.rpm

Get quota patch:

cd /usr/src/redhat/SOURCES
wget http://vda.sourceforge.net/VDA/postfix-2.5.6-vda-ng.patch.gz

Configure postfix:

cd /usr/src/redhat/SOURCES vi make-postfix.spec

At the begining of file, add the following variable definitions:

POSTFIX_MYSQL_REDHAT=1
POSTFIX_SMTPD_MULTILINE_GREETING=1
POSTFIX_TLS=1
POSTFIX_VDA=1
POSTFIX_DOVECOT=1
POSTFIX_LDAP=0
POSTFIX_SASL=2

Postfix can be configured for RedHat systems, but can’t be installed on OEL systems.
We need to edit some configuration files to allow the compilation of packages on an OEL environment.

cd /usr/src/redhat/SOURCES
vi make-postfix.spec

Arround the line 110, you can see:

distro_info=$(sh ${sourcedir}/postfix-get-distribution –distro-info)
fullname=$(echo “$distro_info” | cut -d” ” -f5)
releasename=$(echo “$distro_info” | cut -d” ” -f1)
major=$(echo “$distro_info” | cut -d” ” -f3)
minor=$(echo “$distro_info” | cut -d” ” -f4)

After those lines, add some lines to simulate a RedHat system. The added lines look like:

....
distro_info=$(sh ${sourcedir}/postfix-get-distribution --distro-info)
fullname=$(echo "$distro_info" | cut -d" " -f5)
releasename=$(echo "$distro_info" | cut -d" " -f1)
major=$(echo "$distro_info" | cut -d" " -f3)
minor=$(echo "$distro_info" | cut -d" " -f4)
#
# begin added lines
#
releasename=rhel
major=5
minor=4
#
# end added lines
#
....

Now, we can create the config file /usr/src/redhat/SPECS/postfix.spec:

cd /usr/src/redhat/SOURCES
chmod +x make-postfix.spec
./make-postfix.spec

Creating Postfix spec file: /usr/src/redhat/SPECS/postfix.spec
Checking rpm database for distribution information…
– if the script gets stuck here:
check and remove /var/lib/rpm/__db.00? files
Distribution is: to (rhel-5.4)

enabling MySQL support (RedHat mysql* packages) in spec file
enabling Cyrus SASL v2 support in spec file
enabling Dovecot SASL support in spec file
enabling TLS support in spec file by default (disable with POSTFIX_TLS=0)
enabling VDA support in spec file

We need to edit the file /usr/src/redhat/SOURCES/postfix-get-distribution to simulate a RedHat system:

vi /usr/src/redhat/SOURCES/postfix-get-distribution

Around the line 150, the original file says:

else
# give up if we can not proceed
echo “ERROR: $myname – unable to determine distribution, exiting”
exit 1
fi

Change it to:

...
else
    pkg_name=redhat-release-es
    # give up if we can not proceed
    #echo "ERROR: $myname - unable to determine distribution, exiting"
    #exit 1
fi
...

Also, around the line 190, the original file says:

redhat-release-es|redhat-release-as)
name=rhel
version=$(echo “$version” | sed -e ‘s;[A-Z]$;;’)
;;

Change it to:

...
redhat-release-es|redhat-release-as)
    name=rhel
    version=$(echo "$version" | sed -e 's;[A-Z]$;;')
    version=5.4
    ;;
...

Create the rpm distribution:

cd /usr/src/redhat/SOURCES
wget ftp://ftp.cuhk.edu.hk/pub/packages/mail-server/postfix/official/postfix-2.5.6.tar.gz
chmod +x make-postfix.rpm
./make-postfix.rpm -cf /usr/src/redhat/SPECS/postfix.spec

ls -l /usr/src/redhat/RPMS/i386

total 4556
-rw-r–r– 1 root root 4652243 Apr 3 23:11 postfix-2.5.6-1.mysql.sasl2.dovecot.vda.rhel5.i386.rpm

Install postfix:

cd /usr/src/redhat/RPMS/i386
rpm -ivh postfix-2.5.6-1.mysql.sasl2.dovecot.vda.rhel5.i386.rpm

By default, sendmail is started, so, we must stop sendmail and start postfix:

chkconfig –levels 235 sendmail off
chkconfig –levels 235 postfix on
/etc/init.d/sendmail stop
/etc/init.d/postfix start

 

Install amavisd, spamassassin and clamav

We can install all the packages, and some additional ones, by executing:

yum install getmail amavisd-new spamassassin clamav clamd postgresql-libs php php-mysql

This will install about 60 packages.

All emails processed by amavis contains a header line saying that the mail as been processed. By default, this header says:

X-Virus-Scanned: amavisd-new at example.com

To change example.com to your domain name, it is needed to change the file /etc/amavisd.conf:

vi /etc/amavisd.conf

Change the line

$mydomain = ‘exmaple.com’; # a convenient default for other settings

to

$mydomain = ‘netbck.com’; # a convenient default for other settings

And, finally, you must execute some commands:

mkdir /var/run/amavisd /var/spool/amavisd /var/spool/amavisd/tmp /var/spool/amavisd/db
chown amavis /var/run/amavisd /var/spool/amavisd /var/spool/amavisd/tmp /var/spool/amavisd/db
sa-update # initialize amavis
chkconfig –levels 235 amavisd on
chkconfig –levels 235 clamd on
/usr/bin/freshclam # Update clamav virus DataBase
/etc/init.d/amavisd start
/etc/init.d/clamd start

 

Install fail2ban and rkhunter

Simply, execute:

yum install fail2ban rkhunter
chkconfig –levels 235 fail2ban on
/etc/init.d/fail2ban start

 

Install Dovecot

If we install Dovecot using yum install dovecot, we will install the version 1.0.7

With the following commands, we will install the version 1.2.10:

cd /tmp
wget http://dl.atrpms.net/all/dovecot-1.2.10-2_107.el5.i386.rpm
rpm -ivh dovecot-1.2.10-2_107.el5.i386.rpm

Them, install the Sieve plugin:

cd /tmp
wget http://dl.atrpms.net/all/dovecot-sieve-0.1.15-4.el5.i386.rpm
rpm -ivh dovecot-sieve-0.1.15-4.el5.i386.rpm

And start Dovecot:

chkconfig –levels 235 dovecot on
service dovecot restart

 

Grant MySQL Privileges on mysql.netbck.com conmputer

All those actions must be done on mysql.netbck.com computer

Before we install ISPConfig, we need to allow logins to the ispconfig database on mysql.netbck.com from the email.netbck.com computer.

We must execute the following SQL sentences:

mysql -u root -p
GRANT ALL PRIVILEGES ON *.* TO root@’192.168.1.213′ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO root@’email.netbck.com’ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
flush privileges;

The whole session must look like:

mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8274
Server version: 5.0.77 Source distribution

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> GRANT ALL PRIVILEGES ON *.* TO root@’192.168.1.213′ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO root@’email.netbck.com’ IDENTIFIED BY ‘xxxx’ WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> Bye

End of actions to be done on mysql.netbck.com computer.

From now, all actions must be done on email.netbck.com computer.

 

Install ISPConfig

On a distributed configuration, it is needed to install and configure ISPConfig on all computers. The configuration of ISPConfig on this computer must join the ISPConfig on computer mysql.netbck.com.

Also, every computer must have its MySQL database. So, when configuring ISPConfig, first we must answer about the local MySQL database, then say that we want to join an existing ISPConfig configuration and answer about the remote MySQL database. Synchonization between databases is done automatically by the system.

To install and configure ISPConfig, we must do the following:

cd /tmp
wget http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.2.1.tar.gz?use_mirror=
tar xvfz ISPConfig-3.0.2.1.tar.gz
cd ispconfig3_install/install/
php -q install.php


——————————————————————————–
_____ ___________   _____              __ _
|_   _/  ___| ___ \ /  __ \            / _(_)
| | \ `–.| |_/ / | /  \/ ___  _ __ | |_ _  __ _
| |  `–. \  __/  | |    / _ \| ‘_ \|  _| |/ _` |
_| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
\___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
——————————————————————————–

>> Initial configuration

Operating System: Redhat or compatible, unknown version.

    Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in “quit” (without the quotes) to stop the installer.

Select language (en,de) [en]: <—- ENTER

Installation mode (standard,expert) [standard]: expert <—- expert

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [email.netbck.com]: <—- ENTER

MySQL server hostname [localhost]: <—- ENTER

MySQL root username [root]: <—- ENTER

MySQL root password []: xxxx <—- mysql root’s password at localhost

MySQL database to create [dbispconfig]: <—- ENTER

MySQL charset [utf8]: <—- ENTER

Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y <—- y (join an existing ISPConfig multiserver setup)

MySQL master server hostname []: mysql.netbck.com <—- mysql.netbck.com

MySQL master server root username [root]: <—- ENTER

MySQL master server root password []: xxxx <—- mysql root’s password at mysql.netbck.com

MySQL master server database name [dbispconfig]: <—- ENTER

Adding ISPConfig server record to database.

Configure Mail (y,n) [y]: <—- ENTER

Configuring Postfix
Generating a 2048 bit RSA private key
……+++
………………………………….+++
writing new private key to ‘smtpd.key’
—–
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
—–
Country Name (2 letter code) [GB]:XX <—- Answer according your site
State or Province Name (full name) [Berkshire]: xxxx <—- Answer according your site
Locality Name (eg, city) [Newbury]: xxxx<—- Answer according your site
Organization Name (eg, company) [My Company Ltd]: xxxx<—- Answer according your site
Organizational Unit Name (eg, section) []: xxxx <—- Answer according your site
Common Name (eg, your name or your server’s hostname) []: xxxx<—- Answer according your site
Email Address []:xxxx@xxxx.xxx <—- Answer according your site
Configuring SASL
Configuring PAM
Configuring Dovecot
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Shutting down postfix:                                   [ OK ]
Starting postfix:                                    [ OK ]
Stopping saslauthd:                                        [FAILED]
Starting saslauthd:                                        [ OK ]
Shutting down Mail Virus Scanner (amavisd):                [FAILED]
Starting Mail Virus Scanner (amavisd):                     [  OK  ]
sh: /etc/init.d/clamd.amavisd: No such file or directory
sh: /etc/init.d/courier-authlib: No such file or directory
sh: /etc/init.d/courier-imap: No such file or directory
sh: /etc/init.d/courier-imap: No such file or directory
sh: /etc/init.d/courier-imap: No such file or directory
sh: /etc/init.d/courier-imap: No such file or directory
Stopping Dovecot Imap:                                     [FAILED]
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
Starting Dovecot Imap:                                     [ OK ]
Configure Jailkit (y,n) [y]: <—- ENTER

Configuring Jailkit
Configure FTP Server (y,n) [y]: n <—- n

Configure DNS Server (y,n) [y]: n <—- n

Hint: If this server shall run the ispconfig interface, select ‘y’ in the ‘Configure Apache Server’ option.

Configure Apache Server (y,n) [y]: n <—- n

Configure Firewall Server (y,n) [y]: n <—- n

Configuring Firewall
Install ISPConfig Web-Interface (y,n) [y]: n <—- n

Configuring DBServer
Installing Crontab
no crontab for root
no crontab for getmail
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [ OK ]
Installation completed.

Log into ISPConfig at http://mail.netbck.com and allow the email.netbck.com server only the installed options: Mail

isp5

If you want to use another disk or partition for email storage, mount it at /var/vmail owned by vmail:vmail

 

Start some processes

We need to start spamassasin and restart Dovecot:

chkconfig –levels 235 spamassassin on
/etc/init.d/spamassassin start
/etc/init.d/dovecot restart

 

Enable Dovecot quotas

It is needed to edit 2 files to allow Dovecot a proper configuration.

The file /etc/dovecot.conf must contain (without comments):

#
# allow only if you have NFS storage mounted on /var/vmail
#
#mmap_disable = yes
#mail_nfs_storage = yes
#mail_nfs_index = yes
#
#
#
protocols = imap imaps pop3 pop3s
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/var/vmail/%d/%n/Maildir
first_valid_uid = 5000
last_valid_uid = 5000
first_valid_gid = 5000
last_valid_gid = 5000

protocol imap {
  mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
  mail_plugins = quota imap_quota
  mail_plugin_dir = /usr/lib/dovecot/imap/
}

protocol pop3 {
  mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/pop3
  pop3_uidl_format = %08Xu%08Xv
  mail_plugins = quota
  mail_plugin_dir = /usr/lib/dovecot/pop3
}

protocol managesieve {
}

protocol lda {
  postmaster_address = postmaster@example.com
  mail_plugins = sieve quota
  mail_plugin_dir = /usr/lib/dovecot/lda
  auth_socket_path = /var/run/dovecot/auth-master
}

auth default {
  mechanisms = plain login
  passdb pam {
  }
  passdb sql {
    args = /etc/dovecot-sql.conf
  }

  userdb passwd {
  }

  userdb sql {
    args = /etc/dovecot-sql.conf
  }

  user = root
  socket listen {
        master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = vmail
    }
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}

dict {
}

plugin {
  quota = maildir
  quota_rule = *:storage=1G
  sieve_dir=~/sieve
}

Also, on file /etc/dovecot-sql.conf, you must change the last two (very long) lines that define the password_query and the user_query.

Original:

password_query = SELECT password FROM mail_user WHERE email = ‘%u’ AND disable%Ls = ‘n’
user_query = SELECT email as user, maildir as home, CONCAT(maildir, ‘/Maildir’) as mail, uid, gid, CONCAT(‘maildir:storage=’, quota) AS quota, CONCAT(maildir, ‘/.sieve’) as sieve FROM mail_user WHERE email = ‘%u’ AND disable%Ls = ‘n’

Must be:

password_query = SELECT email as user, password, uid as userdb_uid, gid as userdb_gid, concat(‘*:bytes=’, quota) as userdb_quota_rule FROM mail_user WHERE email = ‘%u’ AND disable%Ls = ‘n’
user_query = SELECT email as user, maildir as home, CONCAT(maildir, ‘/Maildir’) as mail, uid, gid, CONCAT(‘*:bytes=’, quota) AS quota_rule, CONCAT(maildir, ‘/.sieve’) as sieve FROM mail_user WHERE email = ‘%u’ AND disable%Ls = ‘n’

And restart Dovecot:

service dovecor restart

 

How to access mail

From now, you can create email domains and email users using the ISPConfig interface. You can access email accounts using any IMAP or POP client specifying:

POP/IMAP
Server: email.netbck.com
Port: Default and depends on Security options
Security: The configuration accepts unsecured connections, TLS connections and SSL connections.

SMTP
Server: email.netbck.com
Port: Default and depends on Security options
Security: The configuration accepts unsecured connections, TLS connections and SSL connections. If you want to send emails outside your email domain, you must authentificate on SMTP connection.

To authentificate on the email system, you must use your user and domain. Example: myname@example.com.

7 Install Squirrelmail Webmail

We will install Squirrelmail Webmail on the http computer:

yum install squirrelmail
/etc/init.d/httpd restart

Then we must configure:

/usr/share/squirrelmail/config/conf.pl

SquirrelMail Configuration : Read: config.php (1.4.0)
———————————————————
Main Menu —
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages

D. Set pre-defined settings for specific IMAP servers

C Turn color off
S Save data
Q Quit

Command >> D <—- D
SquirrelMail Configuration : Read: config.php
———————————————————
While we have been building SquirrelMail, we have discovered some
preferences that work better with some servers that don’t work so
well with others. If you select your IMAP server, this option will
set some pre-defined settings for that server.

Please note that you will still need to go through and make sure
everything is correct. This does not change everything. There are
only a few settings that this will change.

Please select your IMAP server:
bincimap    = Binc IMAP server
courier     = Courier IMAP server
cyrus       = Cyrus IMAP server
dovecot     = Dovecot Secure IMAP server
exchange    = Microsoft Exchange IMAP server
hmailserver = hMailServer
macosx      = Mac OS X Mailserver
mercury32   = Mercury/32
uw          = University of Washington’s IMAP server

quit        = Do not change anything
Command >> dovecot <– dovecot

              imap_server_type = dovecot
default_folder_prefix = <none>.
trash_folder = Trash
sent_folder = Sent
draft_folder = Drafts
show_prefix_option = false
default_sub_of_inbox = false
show_contain_subfolders_option = false
optional_delimiter = detect
delete_folder = false
Press any key to continue…

SquirrelMail Configuration : Read: config.php (1.4.0)
———————————————————
Main Menu —
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages

D. Set pre-defined settings for specific IMAP servers

C Turn color off
S Save data
Q Quit

Command >> 2 <– 2
———————————————————
Server Settings

General
——-
1. Domain                 : localhost
2. Invert Time            : false
3. Sendmail or SMTP       : Sendmail

A. Update IMAP Settings   : localhost:143 (dovecot)
B. Change Sendmail Config : /usr/sbin/sendmail

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Command >> A <– A
——-

Because email server is not localhost, you must to change localhost to email.netbck.com and Sendmail to SMTP.

Server Settings

——-
1. Domain                 : netbck.com <– 
2. Invert Time            : false
3.  Sendmail or SMTP       : SMTP <– 

SMTP Settings
————-
4. SMTP Server           : email.netbck.com <– 
5. SMTP Port             : 25
6. POP before SMTP       : false <– 
7. SMTP Authentication   : login <– 
8. Secure SMTP (TLS)    : false
9. Header encryption key :

A. Update IMAP Settings : email.netbck.com:143 (dovecot) <– 
H. Hide SMTP Settings

R Return to Main Menu
C Turn color off
S Save data
Q Quit
Command >> S <– S

Now, you can access SquirrelMail at http://http.netbck.com/webmail

isp6

 

 

 

 

 

 

Comments

comments