From owner-freebsd-questions Thu Apr 9 15:05:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21734 for freebsd-questions-outgoing; Thu, 9 Apr 1998 15:05:40 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dove.peace.com.my (peace.com.my [202.184.153.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21728 for ; Thu, 9 Apr 1998 15:05:31 -0700 (PDT) (envelope-from panda@peace.com.my) Received: from lovebox (love.com.my [202.184.153.17]) by dove.peace.com.my (8.8.5/8.8.5) with SMTP id FAA21768 for ; Fri, 10 Apr 1998 05:23:43 +0800 (SGT) Date: Fri, 10 Apr 1998 05:23:43 +0800 (SGT) Message-Id: <3.0.32.19980410054556.00e35120@peace.com.my> X-Sender: panda@peace.com.my X-Mailer: Windows Eudora Pro Version 3.0 (32) To: questions@FreeBSD.ORG From: chas Subject: Cyrus-imap can't create mailboxes : permissions ???? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My apologies for troubling you all yet again. After over a day spent hitting my head against this one, I have to ask "has anyone else had troubles installing cyrus on fbsd" ? I've installed the port for cyrus 1.5.2 and tested it by telneting to the imap port as well as with imtest. These tests passed successfully. imapd seems to be working fine and configuration was done as per the cyrus distribution manuals. I can log in with the admin tool (cyradm) perfectly but when I try to create the mailboxes, I get the following error : "command failed: Permission denied" which I figure must be due to file/directory permissions. [ cyradm session ] # /usr/local/bin/cyradm xxxx.com.my xxxx.com.my userid: cyrus xxxx.com.my password: xxxx.com.my> cm user.chas command failed: Permission denied However, the configuration seems to be as per the book : [ # more /etc/imapd.conf ] configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus chas root srvtab: /var/imap/srvtab [ # ls -al /var/imap ] drwxr-x--- 7 cyrus cyrus 512 Apr 10 02:56 . drwxr-xr-x 21 root wheel 512 Apr 9 11:30 .. -rw------- 1 cyrus cyrus 0 Apr 10 02:56 delivered.db drwxr-xr-x 2 cyrus cyrus 512 Apr 8 14:36 log -rw-r--r-- 1 cyrus cyrus 0 Apr 8 14:36 mailboxes drwxr-xr-x 2 cyrus cyrus 512 Apr 8 14:36 msg drwxr-xr-x 2 cyrus cyrus 512 Apr 9 14:24 proc drwxr-xr-x 2 cyrus cyrus 512 Apr 8 14:36 quota drwxr-xr-x 2 cyrus cyrus 512 Apr 8 14:36 user [ # ls -al /var/spool ] # ls -al /var/spool/ drwxr-xr-x 9 bin bin 512 Apr 8 14:37 . drwxr-xr-x 21 root wheel 512 Apr 9 11:30 .. drwxr-xr-x 2 cyrus cyrus 512 Apr 8 14:37 imap drwxrwxr-x 2 uucp dialer 512 Apr 10 04:57 lock drwxr-xr-x 2 bin daemon 512 Oct 21 22:13 lpd drwxr-xr-x 2 root daemon 512 Apr 10 04:42 mqueue drwxr-xr-x 3 bin daemon 512 Feb 9 12:42 output drwxrwxr-x 7 uucp uucp 512 Feb 9 12:42 uucp drwxrwxrwx 2 uucp uucp 512 Oct 21 22:13 uucppublic The user cyrus does belong to the cyrus group. The only thing that I can think of is perhaps due to tcl. Since I don't have X installed, Tcl/Tk have always been troublesome to install (I always need to use the tcl packages as opposed to the ports) and the cyrus port installation gave one warning message : "/usr/ports/lang/tcl81 non-existant -- @pkgdep registration incomplete." Nevertheless it succeeded in creating the cyradm tool (which is all the tcl libraries were required for) and cyradm seems to work. If anyone has any ideas, I would be most grateful, Thank you very much, chas I've searched the archives on FBSD/dejanews/linux/imap.org and 4 different FAQs, as well as read the manual (repeatedly) but still no joy - this must be something quite obvious I am missing because everybody else seems to have no problems installing cyrus. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message