Home › Forums › OS X Server and Client Discussion › Mail › No accounts in SA and IMAP Permission Denied
- This topic has 3 replies, 3 voices, and was last updated 19 years, 7 months ago by
patc890.
-
AuthorPosts
-
October 4, 2006 at 1:11 am #367187
Tux541
ParticipantI apologize in advance for my lack of Mac Server knowledge. I am normally a Linux guy and this is only my second Mac OSX Server I have worked on.
Here is my issue. I am running Mac OSX Server 10.4.8 with a fresh install. This machine is running as a stand alone and is in no way tied to an Open Directory. I have setup both DNS and my mail server. All of the logs seem fine, my Cyrus DB seems intact (have even tried rebuilding). Also I have looked at /var/spool/imap and my users have their own directories. The user cyrusimap owns all of the directories within /var/spool/imap (even the user’s directories, is that correct?) I can send and recive e-mail without any issues.
Yet none of my users show up under Server Admin. Also my users only have an inbox (Using IMAP) and when they try to create anyother folder they get a message saying permission denied. I have been plugging away at this for days with no results. Also when a user tries to create a folder nothing shows up as far as errors on my IMAP log.
Any ideas? I love the Mac OSX Server so far, everything else has gone without a hitch, but this mail thing is driving me nuts! Thanks in advance for your time.
October 4, 2006 at 11:54 am #367188gw1500se
ParticipantI’m afraid your description is a little confusing, to me any way. Where do you expect users to show up in server admin? If you are talking about the account tab in mail maintenance, they won’t show up there until they have actually received mail even though they have a mail folder in imap. That is an Apple GUI thing as opposed to a Unix thing. Under the covers OS X is Unix and behaves exactly as you would expect as a Linux admin. However, the admin GUI is from Apple. Some aspects of server admin is lacking and in some cases buggy but in the area you should be looking it is fine. I am confused by your reference to creating folders. Where are they doing that and where do you expect to see them? You can’t be talking about the imap directory so could you clarify what you mean?
October 4, 2006 at 4:30 pm #367190Tux541
ParticipantOk, sorry for the bad explaination. I will try my best to clarify.
Yes the users have sent and recieved a lot of e-mail, yet they still do not show up under Mail/Maintenance/Accounts within Server Admin. As far as creating folder… Either using Mac OS Mail as a client or Webmail (Squirlmail) they both error out saying they do not have permissions to create a folder. Here is the exact message Squirlmail give me after you login, this mesasge appears where your list of folders should be.
“ERROR: Could not complete request.
Query: CREATE “Sent Messages”
Reason Given: Permission denied”As far as the Unix part underneath, everything looks fine, although I must admit I have never used Cyrus I am usually a Dovecot fan.
Here is a chunk of my mailaccess.log for IMAP
—————
Oct 4 11:20:00 monster imap[4808]: executed
Oct 4 11:20:00 monster imap[4808]: accepted connection
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: cleaning up user options structure
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: getting directory reference
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: getting search node reference
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: looking up user record: jake
Oct 4 11:20:00 monster imap[4808]: AOD: getting mail attribute for user: jake
Oct 4 11:20:00 monster imap[4808]: AOD: mail enabled
Oct 4 11:20:00 monster imap[4808]: AOD: mbr_check_service_membership with access_all_services
Oct 4 11:20:00 monster imap[4808]: AOD: checkServiceACL: Mail SACL not enabled
Oct 4 11:20:00 monster imap[4808]: AOD: auth-authority crypt auth for: jake
Oct 4 11:20:00 monster imap[4808]: login: localhost [::1] jake plaintext User logged in
Oct 4 11:20:00 monster imap[4808]: quota set to 1024000 KB for mailbox user.jake
Oct 4 11:20:02 monster imap[4808]: accepted connection
Oct 4 11:20:02 monster imap[4808]: AOD: user opts: no-lookup for: jake
Oct 4 11:20:02 monster imap[4808]: AOD: auth-authority crypt auth for: jake
Oct 4 11:20:02 monster imap[4808]: login: localhost [::1] jake plaintext User logged in
Oct 4 11:20:02 monster imap[4808]: quota set to 1024000 KB for mailbox user.jake
Oct 4 11:20:02 monster imap[4808]: seen_db: user jake opened /var/spool/imap/user/j/jake.seen
Oct 4 11:20:02 monster imap[4808]: open: user jake opened INBOX
Oct 4 11:20:02 monster imap[4808]: open: user jake opened INBOX
Oct 4 11:20:02 monster imap[4808]: open: user jake opened INBOX
Oct 4 11:20:02 monster imap[4808]: SQUAT failed to open index file
Oct 4 11:20:02 monster imap[4808]: SQUAT failed
Oct 4 11:20:02 monster imap[4808]: accepted connection
Oct 4 11:20:02 monster imap[4808]: AOD: user opts: no-lookup for: jake
Oct 4 11:20:02 monster imap[4808]: AOD: auth-authority crypt auth for: jake
Oct 4 11:20:02 monster imap[4808]: login: localhost [::1] jake plaintext User logged in
Oct 4 11:20:02 monster imap[4808]: quota set to 1024000 KB for mailbox user.jake
Oct 4 11:21:03 monster imap[4808]: AOD: user opts: cleaning up user options structure
Oct 4 11:21:03 monster imap[4808]: AOD: user opts: releasing search node reference
Oct 4 11:21:03 monster imap[4808]: AOD: user opts: releasing directory reference—————-
And here is some from my mail access log
—————–
Oct 4 11:20:00 monster master[4808]: about to exec /usr/bin/cyrus/bin/imapd
Oct 4 11:20:00 monster imap[4808]: executed
Oct 4 11:20:00 monster imap[4808]: accepted connection
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: cleaning up user options structure
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: getting directory reference
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: getting search node reference
Oct 4 11:20:00 monster imap[4808]: AOD: user opts: looking up user record: jake
Oct 4 11:20:00 monster imap[4808]: AOD: getting mail attribute for user: jake
Oct 4 11:20:00 monster imap[4808]: AOD: mail enabled
Oct 4 11:20:00 monster imap[4808]: AOD: mbr_check_service_membership with access_all_services
Oct 4 11:20:00 monster imap[4808]: AOD: checkServiceACL: Mail SACL not enabled
Oct 4 11:20:00 monster imap[4808]: AOD: auth-authority crypt auth for: jake
Oct 4 11:20:00 monster imap[4808]: login: localhost [::1] jake plaintext User logged in
Oct 4 11:20:00 monster imap[4808]: quota set to 1024000 KB for mailbox user.jake
Oct 4 11:20:02 monster imap[4808]: accepted connection
Oct 4 11:20:02 monster imap[4808]: AOD: user opts: no-lookup for: jake
Oct 4 11:20:02 monster imap[4808]: AOD: auth-authority crypt auth for: jake
Oct 4 11:20:02 monster imap[4808]: login: localhost [::1] jake plaintext User logged in
Oct 4 11:20:02 monster imap[4808]: quota set to 1024000 KB for mailbox user.jake
Oct 4 11:20:02 monster imap[4808]: seen_db: user jake opened /var/spool/imap/user/j/jake.seen
Oct 4 11:20:02 monster imap[4808]: open: user jake opened INBOX
Oct 4 11:20:02 monster imap[4808]: open: user jake opened INBOX
Oct 4 11:20:02 monster imap[4808]: open: user jake opened INBOX
Oct 4 11:20:02 monster imap[4808]: SQUAT failed to open index file
Oct 4 11:20:02 monster imap[4808]: SQUAT failed
Oct 4 11:20:02 monster imap[4808]: accepted connection
Oct 4 11:20:02 monster imap[4808]: AOD: user opts: no-lookup for: jake
Oct 4 11:20:02 monster imap[4808]: AOD: auth-authority crypt auth for: jake
Oct 4 11:20:02 monster imap[4808]: login: localhost [::1] jake plaintext User logged in
Oct 4 11:20:02 monster imap[4808]: quota set to 1024000 KB for mailbox user.jake
Oct 4 11:21:03 monster imap[4808]: AOD: user opts: cleaning up user options structure
Oct 4 11:21:03 monster imap[4808]: AOD: user opts: releasing search node reference
Oct 4 11:21:03 monster imap[4808]: AOD: user opts: releasing directory reference
Oct 4 11:21:03 monster master[43]: process 4808 exited, status 0—————-
And here is what my /var/spool/imap looks like
—————–
monster:/var/spool/imap admin$ ls -al
total 48
drwxr-xr-x 17 cyrusima mail 578 Oct 4 11:19 .
drwxr-xr-x 8 root wheel 272 Oct 3 11:31 ..
-rw——- 1 cyrusima mail 144 Oct 3 21:47 annotations.db
drwxr-xr-x 9 cyrusima mail 306 Oct 3 21:47 db
drwx—— 5 cyrusima mail 170 Oct 4 11:19 db.backup1
drwx—— 5 cyrusima mail 170 Oct 4 10:49 db.backup2
-rw——- 1 cyrusima mail 8192 Oct 4 11:19 deliver.db
drwxr-xr-x 2 cyrusima mail 68 Oct 3 11:46 log
-rw——- 1 cyrusima mail 288 Oct 3 21:47 mailboxes.db
drwxr-xr-x 2 cyrusima mail 68 Oct 3 11:46 msg
drwxr-xr-x 11 cyrusima mail 374 Oct 4 11:20 proc
drwxr-xr-x 2 cyrusima mail 68 Oct 3 11:46 ptclient
drwx—— 4 cyrusima mail 136 Oct 4 11:24 quota
drwxr-xr-x 7 cyrusima mail 238 Oct 3 21:47 socket
drwxr-xr-x 2 cyrusima mail 68 Oct 4 11:10 stage.
-rw——- 1 cyrusima mail 8192 Oct 4 04:19 tls_sessions.db
drwx—— 4 cyrusima mail 136 Oct 3 12:01 user
monster:/var/spool/imap admin$—————–
Hope this helps! Thanks for the reply.
November 22, 2006 at 2:44 pm #367688patc890
ParticipantJust wondering if you ever got this fixec?
Pat.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed