PDA

View Full Version : [ubuntu] help setting up a mail server.


dave54321
September 4th, 2009, 01:07 PM
i just registered a domain and have setup an irc, web, ssh, ftp, database(oracle xe) and voip(murmur) server. now i would like to setup a pop (or imap) mail server and maybe later a smtp server. ive tried some tutorials and had no luck mainly because i dont know how postfix courier and mysql works..
what im asking for is an easy tutorial to setup a simple pop/imap server for like 5 emails
im running ubuntu 9.04 desktop edition like a server.
if anyone could give me a tutorial, thatwould be awsome

ps. this is my first time on ubuntu forums

zadehas
September 4th, 2009, 02:11 PM
I highly recommend dovecot as imap / pop server instead of courier, it works great with postfix and mysql.
Here's a tutorial for this: http://www.opensourcehowto.org/how-to/mysql/mysql-users-postfixadmin-postfix-dovecot--squirrelmail-with-userprefs-stored-in-mysql.html
If you plan on hosting just 5 emails, you could avoid the complexities of setting up mysql based mailboxes and go for the basic system-accounts setup.

dave54321
September 4th, 2009, 02:17 PM
thanks i will try it right now!

Bachstelze
September 4th, 2009, 02:49 PM
I highly recommend dovecot as imap / pop server instead of courier, it works great with postfix and mysql.
Here's a tutorial for this: http://www.opensourcehowto.org/how-to/mysql/mysql-users-postfixadmin-postfix-dovecot--squirrelmail-with-userprefs-stored-in-mysql.html
If you plan on hosting just 5 emails, you could avoid the complexities of setting up mysql based mailboxes and go for the basic system-accounts setup.

What he said. ;) But I think you missed something. You will use an IMAP server (probably Dovecot) to make the users' mailboxes accessible from outside, but how will the mail arrive in their mailboxes in the first place?

zadehas
September 4th, 2009, 03:23 PM
What he said. ;) But I think you missed something. You will use an IMAP server (probably Dovecot) to make the users' mailboxes accessible from outside, but how will the mail arrive in their mailboxes in the first place?
Postfix handles that with maildrop by default - or at least I don't remember ever having to configure an extra MDA for use with postfix.

Bachstelze
September 4th, 2009, 03:52 PM
Postfix handles that with maildrop by default - or at least I don't remember ever having to configure an extra MDA for use with postfix.

Yeah, but there will probably be some Postfix config to be taken care of.