Postfix/Dovecot Virtual Users - Which Way

Anyone running a postfix & dovecot setup with virtual users?

I started looking at this a while back but got sidetracked, as I remember there’s a couple of ways it can be done

I’d like to know what methods people are using and whether there’s one that’s generally preffered

Might even get some tips on how to get started at the same time :wink:

I run one using MySQL as the database. I looked at the file based approaches and decided they offered too little flexibility for too much hassle so might as well go to a DB for storage. Besides it’s much easier to manage a DB with a GUI or web interface than files.

You can find the details for setting such a server at workaround.org (for Debian, but principles also valid for any other distro)

BTW, recent dovecots can be auth proxies for postfix which simplifies setup, you don’t need cyrus sasl for this.

I’m inclined to agree on the sql way ken_yap

Quite like the idea of making a simple php gadget for managing the mail users

I am using dovecot for the auth process btw

I’ll go check out workaround.org, thanks for the tip :slight_smile: