Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Can anybody tell me how to install and configure email server on debian step by step?

What I mean?

I have my own server with my dns. There are several sites on it. So I need:

1) Create emails for each domains, for example,,, ... Where I can create them? Can I create that email list in file(s), not in mysql?

2) I need send emails from php scripts over smtp-server.

3) I need to read emails in Thunderbird (on Ubuntu, if that matters) and send emails from it over smtp of my domains.

I have already installed postfix and dovecot. What's next?

Can somebody provide me some HowTos?

share|improve this question
1 – RJS Oct 14 '12 at 10:07

most probably you need to uninstall postfix and read that 'Handling mail for multiple virtual domains with exim4' as the exim4 is standard mta for debian, also you may be like to read Dovecot virtual users

share|improve this answer
"Posted by Steve on Mon 16 May 2005 at 15:46" - may be exist newer article? – webprogrammer Oct 14 '12 at 8:25
why you need newer article ? almost nothing changed, check the second article from dovecot mailing list and exim4 specifications from – zb' Oct 14 '12 at 8:27
ok, thanks! I will check it. – webprogrammer Oct 14 '12 at 8:31

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.