ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 4


apt-get install mysql-server mysql-client libmysqlclient12-dev

mysqladmin -u root password yourrootsqlpassword
mysqladmin -h -u root password yourrootsqlpassword

When you run netstat -tap you should now see a line like this:

tcp        0      0 localhost.localdo:mysql *:*                     LISTEN     2449/mysqld

which means that MySQL is accessible on port 3306. You can go to the next section (Postfix). If you do not see this line, edit /etc/mysql/my.cnf and comment out skip-networking:

# skip-networking

If you had to edit /etc/mysql/my.cnf you have to restart MySQL:

/etc/init.d/mysql restart


In order to install Postfix with SMTP-AUTH and TLS do the following steps:

apt-get install postfix postfix-tls libsasl2 sasl2-bin libsasl2-modules libdb3-util procmail (1 line!)
dpkg-reconfigure postfix

<- Internet Site
<-,, localhost
<- No
<- 0
<- +

postconf -e 'smtpd_sasl_local_domain ='
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'broken_sasl_auth_clients = yes'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination'
postconf -e 'inet_interfaces = all'
echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf

mkdir /etc/postfix/ssl
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650

postconf -e 'smtpd_tls_auth_only = no'
postconf -e 'smtp_use_tls = yes'
postconf -e 'smtpd_use_tls = yes'
postconf -e 'smtp_tls_note_starttls_offer = yes'
postconf -e 'smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key'
postconf -e 'smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt'
postconf -e 'smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem'
postconf -e 'smtpd_tls_loglevel = 1'
postconf -e 'smtpd_tls_received_header = yes'
postconf -e 'smtpd_tls_session_cache_timeout = 3600s'
postconf -e 'tls_random_source = dev:/dev/urandom'
postconf -e 'myhostname ='

The file /etc/postfix/ should now look like this:

# See /usr/share/postfix/ for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =,, localhost
relayhost =
mynetworks =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mailbox_command =
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

/etc/init.d/postfix restart

Authentication will be done by saslauthd. We have to change a few things to make it work properly. Because Postfix runs chrooted in /var/spool/postfix we have to do the following:

mkdir -p /var/spool/postfix/var/run/saslauthd
rm -fr /var/run/saslauthd

Now we have to edit /etc/default/saslauthd in order to activate saslauthd. Remove # in front of START=yes and add the line PARAMS="-m /var/spool/postfix/var/run/saslauthd":

# This needs to be uncommented before saslauthd will be run automatically

PARAMS="-m /var/spool/postfix/var/run/saslauthd"

# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"


Finally we have to edit /etc/init.d/saslauthd. Change the line

dir=`dpkg-statoverride --list $PWDIR`


#dir=`dpkg-statoverride --list $PWDIR`

Then change the variables PWDIR and PIDFILE and add the variable dir at the beginning of the file:

dir="root sasl 755 ${PWDIR}"

/etc/init.d/saslauthd should now look like this:

#!/bin/sh -e

DESC="SASL Authentication Daemon"
dir="root sasl 755 ${PWDIR}"

createdir() {
# $1 = user
# $2 = group
# $3 = permissions (octal)
# $4 = path to directory
[ -d "$4" ] || mkdir -p "$4"
chown -c -h "$1:$2" "$4"
chmod -c "$3" "$4"

test -f "${DAEMON}" || exit 0

# Source defaults file; edit that file to configure this script.
if [ -e "${DEFAULTS}" ]; then

# If we're not to start the daemon, simply exit
if [ "${START}" != "yes" ]; then
exit 0

# If we have no mechanisms defined
if [ "x${MECHANISMS}" = "x" ]; then
echo "You need to configure ${DEFAULTS} with mechanisms to be used"
exit 0

# Add our mechanimsms with the necessary flag

START="--start --quiet --pidfile ${PIDFILE} --startas ${DAEMON} --name ${NAME} -- ${PARAMS}"

# Consider our options
case "${1}" in
echo -n "Starting ${DESC}: "
#dir=`dpkg-statoverride --list $PWDIR`
test -z "$dir" || createdir $dir
if start-stop-daemon ${START} >/dev/null 2>&1 ; then
echo "${NAME}."
if start-stop-daemon --test ${START} >/dev/null 2>&1; then
echo "(failed)."
exit 1
echo "${DAEMON} already running."
exit 0
echo -n "Stopping ${DESC}: "
if start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" \
--startas ${DAEMON} --retry 10 --name ${NAME} \
>/dev/null 2>&1 ; then
echo "${NAME}."
if start-stop-daemon --test ${START} >/dev/null 2>&1; then
echo "(not running)."
exit 0
echo "(failed)."
exit 1
$0 stop
exec $0 start
echo "Usage: /etc/init.d/${NAME} {start|stop|restart|force-reload}" >&2
exit 1

exit 0

Now start saslauthd:

/etc/init.d/saslauthd start

To see if SMTP-AUTH and TLS work properly now run the following command:

telnet localhost 25

After you have established the connection to your postfix mail server type

ehlo localhost

If you see the lines




everything is fine.



to return to the system's shell.


Install Courier-IMAP/Courier-IMAP-SSL (for IMAPs on port 993) and Courier-POP3/Courier-POP3-SSL (for POP3s on port 995).

apt-get install courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl gamin libgamin0 libglib2.0-0 (one line!)

<- No
<- OK

Then configure Postfix to deliver emails to a user's Maildir:

postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='

/etc/init.d/postfix restart

Please go sure to enable Maildir under Management -> Settings -> EMail in the ISPConfig web interface.

Share this page:

94 Comment(s)

Add comment


From: Anonymous at: 2005-10-19 23:39:48

Did anyone not have a firewall setting within ISPConfig after completing the install?

I couldn't find one listed as a service nor the settings available. Is there something I missed?

From: admin at: 2005-10-20 09:52:47

ISPconfig installs a bastille firewall. You will find it in the ISPConfig controlpanel under Management > Server > Services on the Tab: Firewall

From: Anonymous at: 2005-10-20 15:55:31


does it matter if you use the desktop-installation-image or the server-installation-image?

which version did you use?


From: Anonymous at: 2005-10-20 23:10:34

what good is it if it's connected to the Internet but you can't get to it?

From: Anonymous at: 2005-10-21 02:04:13

Can I get this on one page for printing?

From: Anonymous at: 2005-10-21 09:06:19

Yes, if you click on the printer-friendly link of the first page of an howto. In the case of this howto:

From: Anonymous at: 2005-10-22 13:07:49

Could you provide input if you would consider as opposed to ispconfig ? It looks like vhcs has more eye candy from a first look.

From: Anonymous at: 2005-10-24 07:39:36

I'm trying to install it on Software Raid with no success.

From: Anonymous at: 2005-10-27 09:31:17

I did it with succes on a Intel SE7221BK1-E board 2 Sata 160GB and Ubuntu-server 5.10. Mail me your address and I send you how I did it. If my English was better I tried to make a howto.

From: Anonymous at: 2005-10-27 02:06:56

Is anyone else seeing mail getting rejected when you try to send it to a user? I see this error in mail.log:

Oct 26 18:04:32 bonk postfix/smtpd[14300]: connect from[]

Oct 26 18:04:32 bonk postfix/smtpd[14300]: NOQUEUE: reject: RCPT from[]: 554 <>: Relay access denied; from=<> to=<> proto=ESMTP helo=<>
Any help is much appreciated.

From: admin at: 2005-10-27 09:07:06

You have to enable SMTP-Auth in your email client. In Outlook this feature is called something like "Server needs authentication" in the mail account settings. The username and password are identical to the pop3 username and password.

From: Anonymous at: 2005-11-10 08:03:47

i'd suggest some hacker out there make this as installer script or even a cd installer.

so it will make newbees like me so much easier...

i'm already scared with all the command line stuffs i'd to do....



From: Anonymous at: 2005-11-21 04:48:04

Just a quick "thanks!" for all those who have worked on putting this HOWTO together. It saved me hours, if not days, in putting up a small test server, and the whole installation, start to finish was about 3 hours, on an old Socket 370 Celeron machine! Considering this is just my second Ubuntu install, I couldn't be happier with the results. Using Putty on a Windows machine, all the steps in this HOWTO are literally "cut and paste" (with just a little editing for my own host name, address, etc.) once the SSH step is completed on Page 2 (newbies see the Putty FAQ at

I will agree with others who have commented here that it is important to have quota set up before starting the ISPConfig install. Originally, I installed Ubuntu with ReiserFS, but the currently included kernel for Ubuntu (as of 11/19/05) single CD install image does not have patches for ReiserFS quota support applied. So, I found it was easiest to just go back and re-install Ubuntu on extfs3 formatted partitions, and quota sets up fine.

But overall, very well done! The result seems to be a solid, easily managed Linux server for LAMP projects, without a lot of fuss.

From: Anonymous at: 2005-11-25 15:45:14

If I do:

# /etc/init.d/saslauthd start

Starting SASL Authentication Daemon: mkdir: cannot create directory `': No such file or directory.

What am I doing wrong?


From: admin at: 2005-11-25 15:56:46

Please do not use the comment function to ask for help! If you need help, please use our forum:

From: Claire at: 2009-09-03 15:20:29

This is very very helpfull site. I'll send info to all my friends. Take care!

From: Anonymous at: 2006-01-22 21:42:56

I needed to modify /etc/init.d/bind9 to reflect the chroot: I changed every occurence of the /var/run/bind/run to var/lib/named/var/run/bind/run for bind9 to start correctly.

I'm not sure if I have to modify anything else yet. Hope this will help.

root@ns1:~# uname -a
Linux ns1.xxxxx.xx 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux

Ubuntu Breezy, after apt-get upgrade.


From: Anonymous at: 2006-02-02 14:24:34

Just an afterthought.

Most Internet Service Providers have a policy AGAINST using their internet connections as a server. Unless you have your own T1 line, I wouldn't suggest this.

From: at: 2006-02-02 15:40:26

I dont recommend or even suggest to use this setup on a DSL line or host a webserver on a DSL line in the howto. This howto is a guide to setup a dedicated server for server housing in a datacenter or in an intranet.


From: uptoome at: 2009-08-14 12:02:13

I read the TOS for my provider, and the only restriction seemed to be that I could not host a web site for commercial use (they want you to buy their business class service); personal use such as music, videos, email etc were not restricted.

From: Anonymous at: 2006-02-14 19:15:49's better to user "sudo -s -H" to switch into root mode. There, you can do all the needed things till you use "CTRL + D" to quit.

Now, you do not need to type your pwd every time during installation if you do not wantto create a root user :-)

From: Anonymous at: 2006-04-19 22:22:07

>sudo bash

Now you are root..

From: Anonymous at: 2006-02-16 00:45:49

I've root partition with XFS filesystem; when i edit fstab and append usrquota,grpquota to the options of / partition, the server doesn't mount / partion on reboot.

I've found this post on this site.

you havo to add this string in /etc/lilo.conf under the default kernel or the kernel you whant to run

append="rootflags=usrquota,grpquota ro"

it seems work!
Bye Corey

From: Anonymous at: 2006-02-16 00:48:42

I've root partition with XFS filesystem; when i edit fstab and append usrquota,grpquota to the options of / partition, the server doesn't mount / partion on reboot.

I've found this post on this site.

you havo to add this string in /etc/lilo.conf under the default kernel or the kernel you whant to run

append="rootflags=usrquota,grpquota ro"

it seems work!
Bye Corey

From: Anonymous at: 2006-04-19 03:45:49

At the "boot:" prompt you can type "server netcfg/disable_dhcp=true" so that it prompts you for the relative info during the install instead of having to do it manually later... not much I know but it saves a few minutes.


From: Anonymous at: 2006-04-20 00:27:28

My last comment may not work for the standard ubuntu disk. I used the server image and the exact line I used was "linux netcfg/disable_dhcp=true". I'm making the assumption that it would be "server" instead of "linux".

From: Anonymous at: 2006-05-30 20:11:22

This would have been perfect had it included phpMyAdmin

From: admin at: 2006-06-04 11:11:26

Phpmyadmin is availabale as package trough the ISPConfig interface, so it is not nescessary to install it in the howto.

From: Anonymous at: 2006-06-01 15:11:34

This is a great How-To but as usual I attempted it on the 64bit server version 6.06.

It just so happens that it was released today too (without my knowledge).

So, any chance of an updated version of this How-To in the near future?


From: admin at: 2006-06-04 11:12:23

The Ubuntu 6.06 howto will be published the next few days.

From: at: 2009-09-07 20:55:29

Hi, I have the same problem of this person " Did anyone not have a firewall setting within ISPConfig after completing the install?
I couldn't find one listed as a service nor the settings available. Is there something I missed?


But the answer you give , for me doesnt function. Can someoen help me ?? 

Thanks a lot


From: Anonymous at: 2006-02-22 23:10:27

One small omission - you must set the bootable flag to "on" for the first partition (the /boot partition). You can leave all the other partitions with the default (bootable flag is "off").

From: Anonymous at: 2005-10-31 04:01:52

When I run apt-get install quota the install goes fine.

I have a problem, the file /etc/fstab, does not exist in /etc/ after installing quota. Is there something else that has to be run that will create the file?

I searched the etc directory, but it is nowhere to be found.

Edit /etc/fstab to look like this (I added ,usrquota,grpquota to the partitions with the mount point / and /var):

Anyone else have this problem?

From: admin at: 2005-10-31 07:43:08

Which editor are you using in order to edit /etc/fstab? Try to use a command line editor like vi as root

instead of an editor from your Linux desktop.

If you have further problems, please post them in the forum.

From: Anonymous at: 2009-02-14 01:53:24

i have problem i have no premision denied

pls help thanks

From: Anonymous at: 2005-11-05 00:44:22

After this step

touch /quota.user /

in the (ISP-Server Setup - Ubunti 5.10) I get the following errors

touch: cannot touch '/quota.user': Permission denied

touch: cannot touch '/': Permission denied

From: admin at: 2005-11-05 12:27:41

You have to be logged in as root to run the command.

From: Anonymous at: 2005-11-17 10:04:38

When I run:

/etc/init.d/bind9 start

then I go check my log files i'm gettign this error message:

couldn't open pid file '/var/run/bind/run/': Permission denied

I did everything u did in this tut... any suggestions as to what i may do doing wrong?

BTW when i run : named -c /etc/bind/named.conf

I don't get any error message... It must be something small i'm missing

From: Anonymous at: 2005-12-01 21:42:18

the init script needs to be changed.

From: Anonymous at: 2005-12-02 17:40:47

sry just making sure that /var/lib/named/var/run/bind/run exists and is own by bind solves the pb.

mkdir -p /var/lib/named/var/run/bind/run

chown -R bind.bind /var/lib/named/var/run/bind

From: Anonymous at: 2005-12-09 22:07:18

when running quotacheck -avugm I have the following warnings

Quotafile //quota.user was probably truncated. Can't save quota settings...
Quotafile // was probably truncated. Can't save quota settings...

Have I anything to do or can I just disregard those warnings, pls?


From: admin at: 2005-12-10 12:59:59
From: Anonymous at: 2006-03-24 22:36:14

That link says don't worry, quotacheck always says that when it's first run. But worry if quotaon gives you errors :)

From: Anonymous at: 2005-12-26 23:40:53

Thanks a lot for a great howto

I'm experimenting with the setup, to get it down to a tee. Because of this I start clean everytime. Maybe you want to add a comment for people like me to the extend of:

If your network has a proxy you might consider adding the following file /etc/apt/apt.conf with a proxy setting in :

http::proxy ""

From: Anonymous at: 2005-12-29 21:25:18

Instead of doing sudo password root and then su'ing, wouldn't it be better to do sudo -s to get a root shell?

From: at: 2005-12-31 12:17:37

If you dont set a password for the root user, you cant connect with e.g. SCP programs like winSCP with root permissions while you configure your server.

For a server its a better solution to enable the root user and then disallow root logins with SSH if you dont need direct access for scp.

From: Anonymous at: 2006-03-27 05:40:07

Setting a root password shouldn't be recommended! Most people tend to choose either insecure passwords, which could be gueesed or write their passwords down on a sticky note on their monitor or under the keyboard. It is better to tell people to create a passphrase protected .ssh DSA key using the command ``ssh-keygen -t dsa -b 2048'' and than ditribute this from their workstation to all root-Accounts of all servers they want to admin. The buzzword is "single-sign-on" ;-)

From: Anonymous at: 2006-06-09 22:48:38

Ok great idea but what's next? Being a newbie, how would they know what to do? Or how can we assume that they know how to distribute it around to all root-Accounts? Anymore details would be appreciated other than 4 lines which tell us how to create a SSH public/private key...

From: Anonymous at: 2006-01-14 12:39:10

Why do you install ssh *and* openssh? The openssh client is already included standard Ubuntu server installation so the that's missing is the server. AFAIK the ssh packet brings an additional server and client—both should be superfluous …!?

From: Anonymous at: 2006-05-04 15:10:14

The reason both get installed is that ssh is the client and Openssh is the server. The server is _not_ installed by default on Ubuntu.

From: Anonymous at: 2006-04-23 05:30:14

I had to add a dns server path to /etc/network/interfaces
in order for apt-get to work.


Other than that it all went real smooth.

From: Anonymous at: 2006-07-05 22:57:54

Another solution to this problem would be to re-enable DHCP.

Just remove all static-ip info and add:

iface eth0 inet dhcp

auto eth0

From: CJC at: 2009-06-24 14:23:58

christopher@ns5:~$ sudo aptitude install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev cpp g++ Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Couldn't find any package whose name or description matched "cpp-4.0" Couldn't find any package whose name or description matched "gcc-4.0" Couldn't find any package whose name or description matched "cpp-4.0" Couldn't find any package whose name or description matched "gcc-4.0" The following NEW packages will be installed: autoconf automake1.9 autotools-dev bison fetchmail flex libarchive-zip-perl libdb4.3{a} libdb4.3-dev libltdl7-dev{a} libpopt-dev libtool lynx m4 unzip zlib1g-dev 0 packages upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 5324kB of archives. After unpacking 19.1MB will be used. Do you want to continue? [Y/n/?] y


I am installing on the latest Ubuntu Server and it gives methis error:


Couldn't find any package whose name or description matched "cpp-4.0"
Couldn't find any package whose name or description matched "gcc-4.0"
Couldn't find any package whose name or description matched "cpp-4.0"
Couldn't find any package whose name or description matched "gcc-4.0"

From: Anonymous at: 2005-10-28 00:06:59

there is a small typo on page 3 it is in the config of postfix

postconf -e 'smtpd_recipient_restrictions =

should read postconf -e 'smtpd_recipient_restrictions ='

From: admin at: 2005-10-28 08:11:36

No, the command continues in the next line...

From: Anonymous at: 2005-11-01 22:41:45

There is no mention that apt-get generates the needed certificates for pop3-ssl and imap-ssl using generic data. To generate the correct certificates for courier do the following steps:

1. cd /etc/courier

2. Remove old certificates: rm *.pem

3. Edit pop3d.cnf and imapd.cnf with your information.

5. Generate both certificates with mkpop3dcert, and mkimapdcert

From: Anonymous at: 2005-11-04 14:10:14

ok everything going smooth from on DMZ on my Smoothwall.

now can u tell where i am supposed do this --->

Please go sure to enable Maildir under Management -> Settings -> EMail in the ISPConfig web interface

i have no idea???

From: Anonymous at: 2006-01-11 00:31:35

Interesting. I don't see anywhere in this howto that says to install ISPConfig. Maybe it's installed by default by Ubuntu? I wonder what port ISPConfig uses? I'm investigating now.

From: admin at: 2006-01-11 12:17:17

The ISPConfig setup is described on page 6 of the howto.

From: Anonymous at: 2006-01-11 00:52:38

That's a very confusing way to end this page of the howto. It turns out that you install ISPConfig on the very last page of the howto. It'd be very nice if the author would include alternate instructions for those of us who don't intend to install ISPConfig.

From: admin at: 2006-01-11 12:16:04

The howto does not end on page 4 where you entered this comment, it ends on page 6 after the setup of ISPConfig.

There are no alternate instructions nescessary, just dont install ISPConfig if you dont want to use it. The complete ISPConfig setup is described on page 6, so just skip this page.

From: Anonymous at: 2005-11-05 01:54:48

I was following the guide just copying and pasting and thus made the mistake of setting...

mysqladmin -u root password yourrootsqlpassword
How to I change mysqladmin root password?

From: admin at: 2005-11-05 12:30:18

Must be something like

mysqladmin -u root -pyourrootsqlpassword password new_password

(note: there's no space between -p and the password!).


man mysqladmin

to find out more.

From: Anonymous at: 2005-11-21 17:41:47

Quote from tutorial

<- Internet Site
<-,, localhost
<- No
<- 0
<- +

You are missing a step here.

<- Internet Site
<-,, localhost
<- No

<- Yes/No

<- 0
<- +

From: Anonymous at: 2006-01-02 23:12:18

its ur choice where u want ur root mail to go and how its going to get there.... you can also change it in ispconfig....

From: Anonymous at: 2005-11-23 04:10:18

when I typed

openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024

I got 'openssl command not found'

little help

From: Anonymous at: 2005-11-23 21:14:48

apt-get install openssl

From: Anonymous at: 2006-01-20 07:21:21

how to test this postfix & courier-imap can work properly?

does it support virtual hosts?

From: admin at: 2006-01-20 07:27:34

This setup uses System users, not virtual users. But you can manage the accounts and hosts easily with ISPConfig.

To test the setup, create a site and email account in ISPConfig and send yourself an email with the UebiMiau webmail package (Aavailable on the iSPConfig downloads page) or with an email client like Thunderbid or outlook.

From: Anonymous at: 2006-01-24 11:19:22

I can't understand what means this:

<- Internet Site



<-,, localhost

<- No


<- 0

<- +

From: admin at: 2006-01-24 11:28:18

The installer will ask you several questions after you executed the command above these lines and this are the answers.

From: Anonymous at: 2006-02-26 21:10:34

Kudos on the setup with postfix and sasl/pam. Very clean. I've got a couple of suggestions/comments based on my experience with this.

If you're like me and want to script everything, you can replace the last few steps that are done with an editor with these sed scripts:

sed -i 's/# START=yes/START=yes\nPARAMS="-m \/var\/spool\/postfix\/var\/run\/saslauthd"/g' /etc/default/saslauthd
sed -i 's/dir=/# dir=/g' /etc/init.d/saslauthd
sed -i 's/PWDIR=\/var\/run\/saslauthd/PWDIR=\/var\/spool\/postfix\/var\/run\/saslauthd/g' /etc/init.d/saslauthd
sed -i 's/PIDFILE="\/var\/run\/${NAME}\/"/PIDFILE="${PWDIR}\/"\ndir="root sasl 755 ${PWDIR}"/g' /etc/init.d/saslauthd

I'm not totally sure about the wisdom of changing a script in /etc/init.d, but it works for now. :-)

I used this setup to convert from an RPM-based distro (Mandriva) to Ubuntu. In the process, we had to figure out how to switch from UW-IMAP to Courier. There are some great tools to help. I recommend It's actively maintained, easy to use, and works great. We converted several mailboxes without any problems.

One other note: In the process of conversion, I couldn't tell for sure if everything was working ok because I was getting a "could not open mailbox" error back from my mail client. You can test the pieces quite easily to find errors. To test SASL, do the following:

testsaslauthd -u username -p password -f /var/spool/postfix/var/run/saslauthd/mux

If SASL is working ok, then you can telnet into postfix to verify it. Look at this page under the "testing" section. If you don't have mimencode, try this:

perl -MMIME::Base64 -e 'print encode_base64("username_or_password");'

Thanks so much for a great piece of work on this setup page.

From: Anonymous at: 2005-11-25 22:38:49

Hi, thank you very much for the site. Just a note about something in your instructions that caused me about two hours of grief (I'm new to this.)

The lines in the /etc/apache2/mods-enabled/php4.conf must not be commented out as mentioned above. When a person comments them out, it causes the browser to display php-scripts in stead of running php scripts.

From: admin at: 2005-11-26 16:37:11

In fact, they must be commented out! As you may have noticed, the tutorial prepares the system for the installation of ISPConfig which enables/disables PHP on a per-site basis. If you do not comment out the lines, PHP will always be enabled, no matter what you specify in ISPconfig!

From: Anonymous at: 2005-11-10 23:32:13

If I have done a server install I can't browse to to download ISPConfig control panel. So how will I get this program?

I do however have a windows computer on the network with the file shared. How would I transfer this file over.

From: admin at: 2005-11-11 08:48:06

Please post this in the forum:

From: Anonymous at: 2006-01-09 02:21:50

you shoul try using this command, it's a sourceforge URL as you can see. it worked for me. I hope it works for you.


The server for this piece of software is in Dublin but i got 60 kbs and i'm in México.

From: Anonymous at: 2006-05-04 00:52:22

thanks for this great guide, and thanks to all ppl who replied with the tips.

but [and this might sound super noob] i want gnome on my server and to heck with all u server purists who live and die on the command line :P

shoot, i had a question all set to go and then saw the red box above, lol, off to the forums, and thanks again!

From: Anonymous at: 2005-11-14 04:16:55

lynx will allow u to download what you need or you could install mc and use ftp or just use ftp commands

many ways to get the file.. although it would be a heck of alot nicer if there was a source for a deb package maintained some place... apt-get install ispconfig would kick butt!!

thats what debian is all about....

From: Anonymous at: 2005-11-11 02:57:47

When I type I get an 'Index of /' page, which displays apache2-default and webalizer folders. Also when I start my server up it says ISPConfig system is now up and running!

However.. doesn't work.

Anyhelp would be appreciated.

From: admin at: 2005-11-11 08:47:22

Please post this in the forum:

From: Anonymous at: 2005-11-24 00:40:24

lelphRC4_CHUNK is undefined
sh: make: command not found
./compile: line 74: make: command not found
ERROR: Could not make OpenSSL

From: Anonymous at: 2005-12-13 04:46:25

I had the same problem, you have to install make first to compile anything.

If you have followed the instuctions about logging into root use this command :

apt-get install make

Also where is the rest of the guide? it just ends with no sign of anything.

From: Anonymous at: 2006-06-12 04:39:56

tado: Thanks for the guide...

Had a issue with MySQL & ISPConfig not accepting my password had to do a :

mysqladmin -u root -p(OLDPASSWORD password XOXOXOXOXOXO=NEW PASSWORD in MySQL. Not a biggy but it was a handful for a hour or 2...

now it's time to get a Dapper Drake rockin & Rolling... Thanx again tado

peace Michael Scott of

From: Anonymous at: 2005-12-07 23:43:00

Is safe to use php4 from universe ?

From: Anonymous at: 2005-12-14 08:00:16

Watch out if you have an x86-64 setup. This isn't fully supported. If you don't alter the setup files (see http://www.howtoforge/forums) an installation but more importantly an update fails. This results in a loss of settings.

Also some static applications aren't working on x86_64

From: Anonymous at: 2006-01-26 12:58:51

I noted that answering "Y" to some questions is the same as "n". If the question expects a lower case response, ya better give it one or it will stop the installation.

From: tarvid at: 2006-01-30 00:24:20

After several attempts to install ISPConfig, I tried VHCS using this script

Flawless. I tried on a second machine with the same results.

Not sure how they compare - feature for feature - but VHCS has a lot of charm.

From: Anonymous at: 2006-02-10 11:15:07

Hi, had a small problem with the build of ISPConfig. I unpacked it in the /tmp directory as per instructions in this guide but it kept failing saying it couldn't find php5. Then unpacked it in a user directory and all was well. Running Ubuntu server Breezy. cheers, Adrian

From: Anonymous at: 2006-02-21 01:52:46

apt-get install flex bison make

From: Anonymous at: 2006-03-05 09:07:14


Thanks a lot for the great howto for installing the ISPconfig on Ubuntu 5.10 Server. Works fine on the first try. I love it. Thanks again from Ulm/Germany.


From: Anonymous at: 2006-03-16 18:06:08

Here's an easy way to download ISPConfig on the command line


cd /tmp


From: Anonymous at: 2006-03-29 04:06:40

Maybe I missed a command? I needed to download wget as well as iptables on this install.

From: Web hosting service at: 2014-02-11 09:52:01


Where can I get full manual books?