Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: http://www.debianhelp.co.uk/postfix.htm 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
add comment

1 Answer

up vote 2 down vote accepted

For Exim:

/etc/exim4/update-exim4.conf.conf

dc_smarthost='smtp.example.org'

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
add comment

Your Answer

 
discard

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.