On Mon, 06 Sep 2004 12:25:52 +0100 Grant wrote: > Hey, > > I've been trying to a while to get a Imap server running with webmail, > > I have installed courier-imap using apt-get and i have downloaded and > extract/configured ISMail (http://www.insidesystems.net/projects.php) > and i also installed exim4 using apt-get again. > > I have looked all over the internet and at the makers sites, but i cant > find anything simple and basic.
Correctly setting up mail servers isn't something I would call "simple and basic". > What i want to do is make this server handle mail for two domains. > > Problem is i cant find anything about just adding domains to > courier-imap, also to make things worse i cant find anything simple to > addusers to the server... I don't think courier-imap has any notion of domains. As far as I know, it just has to authenticate users connecting to it, then serve them their email from their assigned mail folders. > I know i need to setup the domains before i can add users but i still > cant find anything simple. The way I have this working is as follows: 1) My MTA (exim4 for you, sendmail for me) accepts/sends email for various domains. This is where your domains should be set, If I understand you correctly. Read the docs. 2) Courier-imap is configured to use userdb authentication, meaning all user info (username, password, mail folder, ...) is stored in a file. This allows for email users with no correspondence to system users. There are other authentication options, though. Once again, you'll have to go through the docs for the details. 3) The connection between the two is made through procmail. The MTA uses procmail as the local mailer, which distributes email among the various users' mail folders. This is done under a specific system user. 4) I also have Squirrelmail installed to provide a web interface to remote users (I'm using apache-ssl for secure connections). It connects to Courier-imap locally, configuration is pretty straightforward. > Could someone give me some help on this... i really want to get up and > running so i can turn my old mail server off... This is not that hard, and shouldn't take you long to set up to your liking, as long as you're prepared to do the required reading. Thinking "simple and basic" will probably take you longer... ;) HTH, -- Carlos Sousa http://vbc.dyndns.org/ "I find gnome is far too susceptible to not working" - J.D.H -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]