Quote:
But when it comes to downloading them with pop3 og imap I do not seam to be able to get that part working.
I have started the cyrus-imapd service and opend the right ports in the firewall.
When I check mail with a e-mail client, I get wrong username or password.
Do I have to add the users to the cyrus-imapd program, like with samba?'
|
Yes. I'm going from memory here (also see below) but I recall that the sequence is:
1. Define the mail admin account using whatever account creation tools you like. Then define these admins in /etc/imapd.conf
2. Create cyrus passwords for the mail admins using saslpasswd2.
3. Login as a mail admin.
4. Issue: cyradm mailserver.yourdomain" and enter the password you defined for this admin account (in step 2).
5. Use the command "createmailbox user.smithjoe" (for example) to create the basic inbox for the user "smithjoe". You can create other mailboxes ahead of time for the user at this time as well.
6. Once back at the OS prompt, create the imap password for smithjoe using saslpasswd2.
One thing to note: Cyrus assumes that the system that you're using for the imap server is being used for general purpose logins by a bunch of users. There are some security concerns that you might wish to read about on the cyrus-imap web site (h++p://asg.web.cmu.edu/cyrus/). Also, I believe there's a way to get to your IMAP mail via a web interface so you don't have to punch holes in your firewall. Something to consider if you're not crazy about opening up ports on the firewall.
(The above set of steps are what I recall having to do when I set up a server to run postfix 1.1.7 and cyrus 2.1.3 on an RH8.0 system a while back. I'm getting to convert that system to SuSE9.2 and much newer versions of postfix and cyrus. Should be, um, fun. Yah that's it: fun!)