Archive for March, 2010

Recommended firewall setup for Ensim Pro for Linux

The following is the list of ports used by Ensim Pro for Linux that need to be open if the server is installed behind a firewall.

TCP Port Service

20 FTP Data
21 FTP
22 SSH
23 Telnet
25 Sendmail SMTP
53 DNS
80 HTTP
110 POP3
143 IMAP
443 SSL
783 Spamassassin
3306 MySQL
19638 Control panel

UDP Port Service

53 DNS
3306 MySQL

Setting up sendmail over SSL on Ensim Pro Control Panel for Linux

Login as root on your Ensim Pro Control Panel for Linux box

Backup your current sendmail conf file

cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bak

Prepare sendmail’s certificate

cd /usr/share/ssl/certs
make sendmail.pem

You will be prompted with several questions typical for SSL certificate generation)

Backup /usr/lib/opcenter/sendmail/install/sendmail.mc file

cp /usr/lib/opcenter/sendmail/install/sendmail.mc /usr/lib/opcenter/sendmail/install/sendmail.mc.bak

Edit /usr/lib/opcenter/sendmail/install/sendmail.mc file

vi /usr/lib/opcenter/sendmail/install/sendmail.mc

Uncomment the following lines to point to your generated certificate

define(`confCACERT_PATH’,`/usr/share/ssl/certs’)
define(`confCACERT’,`/usr/share/ssl/certs/ca-bundle.crt’)
define(`confSERVER_CERT’,`/usr/share/ssl/certs/sendmail.pem’)
define(`confSERVER_KEY’,`/usr/share/ssl/certs/sendmail.pem’)

Add DAEMON_OPTIONS to make sendmail listen on port 465
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA’)dnl
DAEMON_OPTIONS(`Port=smtps, Name=SSLMTA, M=s’)dnl

Rebuild sendmail conf file

m4 /usr/lib/opcenter/sendmail/install/sendmail.mc > /etc/mail/sendmail.cf

Restart sendmail

/sbin/service sendmail restart

You can check if sendmail is listening on 465 port by issuing command

netstat –nlp | grep 465

Reference: http://parallels.com

During upgrade, the following message is displayed: check_hostname Error

The file /etc/hosts should contain the host name and IP address of your server. If it does not, use an editor to modify the file.

Example

127.0.0.1 localhost.localdomain localhost
192.168.1.1 ensim.mydomain.com ensim

Where 192.168.1.1 is the IP address of ensim.mydomain.com

Requirements for upgrading Ensim Control Panel

File system EXT3

Important: Quotas may not function as intended if you use other file systems.

Disk space At least 40 GB

Disk space partitioning:

/ 5 GB or more
(assuming minimum disk space of 40 GB)

/usr 5 GB or more

/swap Twice the size of RAM

The size of the partitions can vary in proportion to the size of the disk space.

/var 4 GB or more
/home 20 GB or more (depending on the number of sites you want to host)

Important: Do not create /home/virtual on a separate partition. The Site Administrator dashboard reports incorrect disk usage if the directory is created on a separate partition.

Installation Checklist

You must install the RPM spamassassin-3 or later on the server before you install Ensim Pro Control Panel.

Verify that you have set up the yum repository containing the operating system RPMs, RPM updates, and RPM extras (required only if using yum to obtain and update RPMs).

Set up a yum repository on your local FTP server or on the server on which you are installing Parallels Pro Control Panel. The installer obtains the operating system RPMs, required RPM updates, and RPM extras from the repository.

« Prev - Next »