Im trying to get imap running and dont know the problem. i a developer, not a network guy.( our network guy left)

we had postfix installed already for outgoing mail on 8 domains. we only had incoming on 1 domain. but that mail server is located on a different ip. now we want incoming on another domain, but we dont want it on another ip, we want it on the same ip as the website itself. I installed dovecot today because my hosting company said i needed it. it seems to run fine. do i need dovecot AND postfix? or are they the same thing? dovecot does not show up anywhere in webmin

what i cant seem to figure out how to do is add a user email so i can try to telnet in on port 143. i think i have evrything installed, just need the next step.... sorry for the newb question

link|improve this question
feedback

migrated from stackoverflow.com Sep 7 '11 at 12:50

This question came from our site for professional and enthusiast programmers.

2 Answers

postfix handles SMTP and dovecot handles IMAP, so you do need both. Adding users depends on how your system is set up. On a simple setup, postfix and dovecot will just support accounts that match the Linux users.

But since that server is supporting multiple domains, I'm guessing that you don't have a Linux account for each email address. So, you will have to read up on the postfix settings for maintaining a database of users. I don't know how your postfix is configured, so it's hard to give you more direction than to read the documentation. As for dovecot, I believe it supports a database of users (there's mention of it on the Dovecot Wiki), but you may want to consider Cyrus because it's designed for larger IMAP installations.

link|improve this answer
I can't follow the recommendation to use Cyrus. Dovecot is by far the most RFC compliant IMAP4 server. And I know Dovecot installations with way over 100,000 accounts. – mailq Sep 7 '11 at 19:01
I'll admit that Cyrus is not very easy to configure. Personally, I like Dovecot but I don't have experence with very large installations so I thought I'd mention Cyrus as an alternative. It's good to hear your comment about Dovecot handing such a large installation. – Klox Sep 8 '11 at 1:02
feedback

Along with webmin, you will need 1)Virtualmin , if you host multiple domains and 2) Usermin for webmail. Both of these are webmin modules so you can install them easly. Check the virtualmin & usermin docs for more info,

http://www.webmin.com/virtualmin.html

http://www.webmin.com/usermin.html

link|improve this answer
feedback

Your Answer

 
or
required, but never shown