wiki:ISPconfig

Basic Gentoo Setup for ISPconfig

Basic setup

Additional Infos

packages that i had to emerge manually:
sudo pam (install this first !!!)

stuff that i had to change:
in /etc/portage/package.use:
dev-libs/cyrus-sasl authdaemond urandom to dev-libs/cyrus-sasl authdaemond urandom pam

in /etc/courier-imap/imapd, /etc/courier-imap/imapd-ssl, /etc/courier-imap/pop3d, /etc/courier-imap/pop3d-ssl:
MAILDIR=.maildir to MAILDIR=Maildir
MAILDIRPATH=.maildir to MAILDIRPATH=Maildir

in /etc/courier-imap/imapd:
MAXDAEMONS=40 to MAXDAEMONS=200, MAXPERIP=4 to MAXPERIP=40

in /etc/pam.d:
had to create file smtp (should not be created automatically if smtp is installed after pam !!!)

in /etc/mail/spamassassin:
# mkdir bayes
# chmod 777 bayes
add ...

in /etc/vhosts/webapp-config (to make webapp-config work with the ispconfig vhost root)
vhost_htdocs_insecure="htdocs" -> vhost_htdocs_insecure="web"
vhost_htdocs_secure="'htdocs-secure" -> vhost_htdocs_secure="web"

don'ts (that i did):
during ispconfig install:
In step 7 ("Encrypting RSA private key of CA with a pass phrase for security [ca.key]")and step 8 ("Encrypting RSA private key of SERVER with a pass phrase for security [server.key]") of the certificate creation process you are asked if you want to encrypt the respective key now. Choose n there because otherwise you will always be asked for a password whenever you want to restart the ISPConfig system which means it cannot be restarted without human interaction[[BR]]

in this case recreate the certs using:

openssl genrsa -des3 -passout pass:caf2macg4 -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024
openssl req -new -passin pass:caf2macg4 -passout pass:caf2macg4 -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365
openssl req -x509 -passin pass:caf2macg4 -passout pass:caf2macg4 -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365
openssl rsa -passin pass:caf2macg4 -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key
chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key

Last modified 14 years ago Last modified on 02/22/08 17:14:39