Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Cyrus IMAP server plugin for webmin

Posted on 2007-10-08
9
Medium Priority
?
3,743 Views
Last Modified: 2012-06-21
I just installed webmin and i cant get the cyrus imap module to work. does anyone have any experience with this. please let me know.

[error]

Cyrus-IMAP server cannot be reached by user cyrus
Either it's not installed, it's stopped, or the module configuration is incorrect.
 
[config]

Cyrus-IMAP server Port (normally 143)   :143
Cyrus-IMAP server Admin User    :cyrus
Cyrus-IMAP Server Admin Password  :
Path to cyrus.conf    :/etc/cyrus.conf
Path to imapd.conf    :/etc/imapd.conf
IMAP working directory    :/var/lib/imap
Cyrus utilities and libraries path    :/usr/lib/cyrus-imapd
Script to start/stop Cyrus-IMAP server    /etc/init.d/cyrus-imapd
Synchronize creation/deletion of mailboxes and system accounts? : No  
Check for new releases?  :Yes

i have verified all paths to at lease exist
0
Comment
Question by:nole_jesse11
  • 5
  • 4
9 Comments
 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 20038172
You can "test" the connection by supplying the root username and password.  If this works you have an issue with the cyrus user
0
 

Author Comment

by:nole_jesse11
ID: 20038189
No love for root. with or with out password.

i have the same problem with two boxes one is a test box at home the other is a production box.
0
 

Author Comment

by:nole_jesse11
ID: 20038201
no log files either. at lease that i can find. and thanks for the fast responce!
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 20038328
Okay, if that isn't working check the following Perl modules are actually installed: Cyrus::IMAP and Mail::IMAPClient .

If they are not, both can be installed by running the command "perl -e shell -MCPAN" followed by "install Cyrus::IMAP" and "install Mail::IMAPClient".  This will also ensure you manage to install all the required dependencies as well.

If you are unsure if they are installed or not do the following:
cd /usr/lib/
find . -name IMAP.pm (Cyrus::IMAP)
find . -name IMAPClient.pm (Mail::IMAPClient)

If you can't find either of these you will need to install the relevant perl modules as discribed above.
0
 

Author Comment

by:nole_jesse11
ID: 20038498
i found IMAP.pm (Cyrus::IMAP)
then Installed IMAPClient.pm (Mail::IMAPClient)
still no love for user cyrus or root. and thanks again for your reply. i have been googleing all over and it seems that it works fine for everyone else.
0
 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 20038609
Check your imapd.conf file for the line similar to:

admins: cyrus root

And does the cyradm command work and allow you to connect to localhost and for example list users?
0
 

Author Comment

by:nole_jesse11
ID: 20038695
# grep -i admins: ./imapd.conf
admins: cyrus tpadmin


cyradm> listmailbox
listmailbox: no connection to server
cyradm> servername
server: no connection to server
cyradm>
0
 
LVL 13

Accepted Solution

by:
WizRd-Linux earned 2000 total points
ID: 20038780
cyradm
connect localhost
<put in your password>
then commands
0
 

Author Comment

by:nole_jesse11
ID: 20042081
it works now!
i did
#saslpasswd2 cyrus

and set a password

then entered the password in the webmin module.

awsome thanks!
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally wrote this article to compare SARDU and YUMI, but have now added Easy2Boot, since that is the one I currently use and find the easiest to create and alter.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses
Course of the Month21 days, 1 hour left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question