If you want to use mailinglists on your server, then install mailman. This step is optional. mailman requires a apache webserver, so if you dont want to run a apache instance on your mailserver, then dont install mailman.

apt-get -y install mailman

The apt installer for mailman will ask you then to select the languages for the mailing list. Enable all languages that you want to use for mailman. Next create the "mailman" mailinglist.

newlist mailman

and enter the email address and new password for the mailinglist administrator. Thats the last step of the mailman install. The next command to install php has to be executed on every server, independently if you installed mailman or not.

Then install install the commandline version of PHP to be able to run PHP-based shell scripts for ISPConfig:

apt-get -y install php5-cli php5-mysql php5-mcrypt mcrypt

Install fail2ban: This is optional but recommended, because the ISPConfig monitor tries to show the log:

apt-get install fail2ban

To make fail2ban monitor PureFTPd and Dovecot, create the file /etc/fail2ban/jail.local:

Country Name (2 letter code) [AU]:<-- DE (Enter the ISO country code where you live here)State or Province Name (full name) [Some-State]:<-- Niedersachsen (Enter the state where you live here)Locality Name (eg, city) []:<-- Lueneburg (Enter the city here)Organization Name (eg, company) [Internet Widgits Pty Ltd]:<-- ENTEROrganizational Unit Name (eg, section) []:<-- ENTERCommon Name (eg, YOUR name) []:<-- ENTEREmail Address []:<-- ENTER

Over 20 years experience as Software Developer and Linux System Administrator. Till Brehm is the founder and lead developer of the ISPConfig Hosting Control Panel software (since 2000) and he founded HowtoForge in 2005 as a place to share Linux knowledge with other Linux enthusiasts.