= Basic Gentoo Setup for ISPconfig = [wiki:Basic Basic setup] = Additional Infos = packages that i had to emerge manually:[[BR]] sudo pam (install this first !!!) stuff that i had to change:[[BR]] in /etc/portage/package.use:[[BR]] dev-libs/cyrus-sasl authdaemond urandom to dev-libs/cyrus-sasl authdaemond urandom pam[[BR]] [[BR]] in /etc/courier-imap/imapd, /etc/courier-imap/imapd-ssl, /etc/courier-imap/pop3d, /etc/courier-imap/pop3d-ssl:[[BR]] MAILDIR=.maildir to MAILDIR=Maildir[[BR]] MAILDIRPATH=.maildir to MAILDIRPATH=Maildir[[BR]] [[BR]] in /etc/courier-imap/imapd:[[BR]] MAXDAEMONS=40 to MAXDAEMONS=200, MAXPERIP=4 to MAXPERIP=40[[BR]] [[BR]] in /etc/pam.d:[[BR]] had to create file smtp (should not be created automatically if smtp is installed after pam !!!)[[BR]] [[BR]] in /etc/mail/spamassassin:[[BR]] # mkdir bayes[[BR]] # chmod 777 bayes[[BR]] add ...[[BR]] [[BR]] in /etc/vhosts/webapp-config (to make webapp-config work with the ispconfig vhost root)[[BR]] vhost_htdocs_insecure="htdocs" -> vhost_htdocs_insecure="web"[[BR]] vhost_htdocs_secure="'htdocs-secure" -> vhost_htdocs_secure="web"[[BR]] don'ts (that i did):[[BR]] during ispconfig install:[[BR]] 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:[[BR]] openssl genrsa -des3 -passout pass:caf2macg4 -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024[[BR]] 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[[BR]] 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[[BR]] openssl rsa -passin pass:caf2macg4 -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key[[BR]] chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key[[BR]] [[BR]]