Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a secure email server installed in debian-lenny with users in a mysql table.
Also users are from multiple domains.
Quota should be in mysql or a global variable for all users.
What are my options ?
THanks in advance for your help.

share|improve this question
What protocols and features do you need it to support? – John Gardeniers Mar 10 '10 at 10:53
Only incoming smtp port 25 – DCC Mar 10 '10 at 11:43
I'm pretty sure that you want your users to be able to access their received mails. So you'll need at least a POP3 or an IMAP server. – joschi Mar 10 '10 at 12:14

I run the following software on Debian Etch without any problems:

  • Postfix
  • Potstfixadmin
  • MySQL
  • Dovecot (courier etc will probably also work, but Iv'e found dovecot to be much slimmer on resources and easier to set up)

Gives you virtual users and domains, vacation messages, imap(s), pop3(s), web-based user/alias/domain managment etc. Highly recommended.

Edit: Here's a tutorial aswell -

share|improve this answer

I pretty much followed this guide:

Does what you require.

share|improve this answer

I'm a huge QMAIL fan. It hasn't had a security issue ever. The toaster makes it easier to throw a box up if you're less familiar with it.

share|improve this answer
Ditto for me. There are some great tutorials that can be found at in the documentation section. Also, Life With Qmail, by Dave Sill is a great resource. – Scott Lundberg Mar 10 '10 at 14:56
I like Qmail aswell, but the patching of code (wich violates qmail's security guarantee) got to me, so I changed to Postfix. – pauska Mar 11 '10 at 14:47

Although I like installing and configuring the different components of a complete mail system myself, you might be interested in iRedMail which is basically a script installing and configuring every needed component for you. It also brings a web interface for configuration.

share|improve this answer

postfix-policyd for your rate limiting/throttling

share|improve this answer

Courier has the complete suite (MTA, POP3, IMAP) that all can share the same authentication-system (single configuration for validating against a database). I'm not sure about quota though.

If you mix systems (psotfix + courier for example), you will need to setup them indvidually for the same database-schema.

share|improve this answer

Use Postfix, with virtual-domains.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.