Debian/Ubuntu Tips and Tricks

Debuntu

Debian/Ubuntu Tips and Tricks

How-To: Virtual emails accounts with Postfix and Dovecot

Posted by chantra on 18th January 2009

This entry is part 1 of 3 in the series How-To: Virtual emails accounts with Postfix and Dovecot

This tutorial will explain how to run a mail server with virtual domains and users using a MySQL backend to store email informations.
Postfix will be our SMTP server, Dovecot will be handling IMAP (optionally one could configure POP3 also) so that users can retrieve their email.

Another tutorial will cover SPAM fighting using DSPAM based on this implementation (yet to be done).

This tutorial was done on Debian Etch using postfix 2.3.8-2etch4 and 1.0.rc15-2etch4.

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking | 2 Comments »

How-To: Virtual emails accounts with Postfix and Dovecot — page 2

Posted by chantra on 18th January 2009

This entry is part 2 of 3 in the series How-To: Virtual emails accounts with Postfix and Dovecot

4. Configuring Postfix

4.1. main.cf and master.cf

Your postfix main.cf file should look like:

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking | 1 Comment »

How-To: Virtual emails accounts with Postfix and Dovecot — page 3

Posted by chantra on 18th January 2009

This entry is part 2 of 3 in the series How-To: Virtual emails accounts with Postfix and Dovecot

5. Configuring Dovecot

Dovecot has its SQL configuration gathered in a separated file: /etc/dovecot/dovecot-sql.conf, so let's edit edit with our settings:

# vi /etc/dovecot/dovecot-sql.conf

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking | 1 Comment »