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

How can I configure a mail server on Debian Squeeze with Postfix or Exim4 without the need to relay on another smtp server? And is it possible to add multiple email addresses for the same user? (Independant mailbox, not aliases)

I'm all new to mail server, Debian come with exim4, I can set it up to use tls etc... but I cant figure out how to make the server to send and receive mails without an external smtp server.

RoundCube is configured, but SMTP test always fail.

I've found this tutorial: And before I'm following it, is it good? I tried like 10 differents tutorials but it's always relying on a third party server.

Any help will be appreciated.

Thank you

share|improve this question
up vote 2 down vote accepted

For Exim:



Then run sudo update-exim4.conf

share|improve this answer
Wow - Ok thank you, it's working... amazing!! :P Upvoted + Answer accepted – Jeremy Dicaire Feb 17 '13 at 20:24
Um... does that not both "relay" and "rely" on another SMTP server? – Michael Kjörling Feb 17 '13 at 20:25
Everything is on the same server (for now) and this is working... not sure what your comment is about sorry :S – Jeremy Dicaire Feb 17 '13 at 20:32

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.