cyrus-imap configuration question

Dan White dwhite at olp.net
Sat Jan 19 19:46:38 EST 2013


On 01/19/13 17:51 +0000, Charles Bradshaw wrote:
>I'm tying to configure cyrus-imap on a Fedora 17 system.
>
>cyrus-imapd version cyrus-imapd.i686 2.4.14-1.fc17
>
>I have sendmail and saslauthd working using DIGEST-MD5 and CRAM-MD5 working.
>
>I have gone through the cyrus-imap configuration procedure, but when I try to
>start the server:
>
># systemctl start cyrus-imapd.service
>Job failed. See system journal and 'systemctl status' for details.
>
># systemctl status cyrus-imapd.service
>cyrus-imapd.service - Cyrus-imapd IMAP/POP3 email server
>	  Loaded: loaded (/usr/lib/systemd/system/cyrus-imapd.service; disabled)
>	  Active: failed (Result: exit-code) since Sat, 19 Jan 2013 13:29:32 +0000;
>28s ago
>	 Process: 2049 ExecStartPre=/usr/lib/cyrus-imapd/cyr_systemd_helper start
>(code=exited, status=75)
>	  CGroup: name=systemd:/system/cyrus-imapd.service
>
>If I start the master process manually or in debug mode:
># /usr/lib/cyrus-imapd/cyrus-master -D              (or -d)
>fatal error: can't read mailboxes file
>ctl_cyrusdb: unable to archive environment

On 01/19/13 18:17 +0000, Charles Bradshaw wrote:
>File permissions are:
>
># cd /var/spool
># ls -l imap
>total 8
>drwxr-xr-x. 2 cyrus mail 4096 Jan 19 11:39 stage.
>drwxr-xr-x. 2 cyrus mail 4096 Jan 19 11:39 sync.
>[root at dell2600 spool]# ls -ld imap
>drwxr-x---. 4 cyrus mail 4096 Jan 19 11:39 imap
>
># cd /var
># ls -ld imap
>drwxr-x---. 2 cyrus mail 4096 Jan 19 11:32 imap

Your 'configdirectory' option in /etc/imapd.conf should point to the
location of your cyrus database files, including the mailboxes database.
That directory, and all files underneath it, should be owned by cyrus:mail.

If permissions look correct, please provide the contents of your
/etc/imapd.conf file, and a directory listing of the 'configdirectory'
directory.

-- 
Dan White


More information about the Info-cyrus mailing list