LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2004, 03:52 PM   #1
Gribler
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Posts: 3

Rep: Reputation: 0
FC3 - Postfix - Cyrus-imapd - login error


Hey all who read this thread,

I have set up a box with Fedora Core 3 and installed the postfix and cyrus-imapd packages.
The postfix part works fine as far as I can tel, I recive mail on the server. (I read them with the "mail" command!)
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?

I would apresiate some help.

Thank you.
 
Old 12-10-2004, 08:53 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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!)
 
Old 12-14-2004, 01:51 PM   #3
Gribler
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Posts: 3

Original Poster
Rep: Reputation: 0
Hey rnturn,

thanks for the help, the sequence worked fine. I now can login it to the cyrus imap server.

My next problem is that the mail that I send to the server and that I can read with the "mail" command, does not seam to turn up it the Inbox.
How do I connect postfix and cyrus-imapd?

Good luck with the Suse upgrade, It does sound Fun!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 cyrus-imapd not starting - DB conversion? php4u Fedora - Installation 1 04-21-2005 01:07 AM
cyrus-imapd problems krille Linux - Newbie 1 04-13-2005 07:16 PM
postfix and cyrus-imapd fail on fedora core 2 kwingate Fedora 3 12-13-2004 10:27 AM
Cyrus imapd and subfolders Fonk Linux - Software 0 10-01-2004 08:12 PM
Cyrus-Imapd Doesn't Work aquiz Linux - Software 0 09-09-2004 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration