ISPmail Jessie tutorial

Success stories

I would appreciate if you leave a comment here telling others if your mail server is running. Perhaps even a word about the purpose of the mail server and the number of users you have. That allows others to see that their time is well-spent and indeed leads to a working mail server. Thanks for …

Success stories Read More »

Deploying a mail server with Ansible

Pangs of conscience I refused to provide automatic installation scripts since I started the first ISPmail guide for Debian. Why? Because my intention is to help you understand the complexity of setting up your own mail server. The protocols. The software components. The caveats. The features. There are countless copy’n’paste tutorials on the internet that …

Deploying a mail server with Ansible Read More »

Troubleshooting your mail server

General troubleshooting tips Run “postfix check” to make Postfix look for obvious configuration errors. If it returns no output then no problem was found. Read your /var/log/mail.log and look for warnings and errors. Postfix keeps unwanted emails in the queue Check that you do not keep soft_bounce enabled. If “postconf soft_bounce” shows “yes” then run …

Troubleshooting your mail server Read More »

Setting up Roundcube webmail

Now that you have a valid key and certificate and installed the Roundcube packages we are ready to set up your webmail service. The Apache web server installation on Debian stores all virtual host configurations in /etc/apache2/sites-available/. There are two files after a fresh Apache installation: 000-default.conf serves the /var/www directory via HTTP and is enabled …

Setting up Roundcube webmail Read More »

Testing email delivery

So far you have spent considerable time with theory and configuration. Are you worried whether all you did actually leads to a working mail server? Before we do the final steps let’s take a break and verify that all you did works so far. At this point the /var/vmail directory should be empty or maybe contain an “example.org” …

Testing email delivery Read More »

Preparing the database

Now it’s time to prepare the MySQL database that stores information controlling your mail server. In the process you will have to enter SQL queries – the language of relational database servers. You may enter them on the ‘mysql’ command line. But if you are less experienced with MySQL you may prefer using a web-based tool called …

Preparing the database Read More »

Setting up Dovecot

This chapter of our journey leads us to Dovecot – the software that… gets emails from Postfix and saves them to disk executes user-based “sieve” filter rules (can be used to e.g. move emails to different folders based on certain criteria or send automated vacation responses) allows the user to fetch emails using POP3 or IMAP Before …

Setting up Dovecot Read More »