Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: sektor on February 24, 2011, 08:18:03 PM

Title: Unable to see inbox from web nor client
Post by: sektor on February 24, 2011, 08:18:03 PM
When I try to check e-mail from a client I get connection error however I am able to view all the other folders and I was able too before, but now when I go through webmail it says no messages even though I have old ones when I look in the imap log I see this imap(sektor): Error: file_lock_dotlock() failed with mbox file /var/mail/sektor: Permission denied.  I tried searching through bugs and here and could not find anything, I was wondering if anyone encountered this before I posted a new bug.
Title: Re: Unable to see inbox from web nor client
Post by: sektor on February 24, 2011, 08:36:01 PM
Never mind I figured it out, it was because I defaulted my home directory to /home/e-smith/files/users/<user>/home instead of /home/e-smith/files/users/<user>, which is where the Maildir was and all I needed to do was move the Maildir into the home directory and all was good.
Title: Re: Unable to see inbox from web nor client
Post by: cactus on February 25, 2011, 04:48:04 PM
Never mind I figured it out, it was because I defaulted my home directory to /home/e-smith/files/users/<user>/home instead of /home/e-smith/files/users/<user>, which is where the Maildir was and all I needed to do was move the Maildir into the home directory and all was good.
You should not make modifications like this, as this might brake your server as you already noticed. Please move the directory back to it's proper place and adjust the configuration accordingly.
Title: Re: Unable to see inbox from web nor client
Post by: Stefano on February 25, 2011, 05:11:01 PM
Never mind I figured it out, it was because I defaulted my home directory to /home/e-smith/files/users/<user>/home instead of /home/e-smith/files/users/<user>, which is where the Maildir was and all I needed to do was move the Maildir into the home directory and all was good.

can I ask you why did you do it?
Title: Re: Unable to see inbox from web nor client
Post by: sektor on February 26, 2011, 04:52:04 AM
Because the default directory you had no permissions to write too so instead of changing the directory all the time I just permanently set it that way for my account, because I like to do allot of shell stuff, but everything is functioning as normal I just didn't think about it before I posted it and when I realized it I couldn't delete the post.
Title: Re: Unable to see inbox from web nor client
Post by: sektor on February 26, 2011, 05:01:08 AM
graze per domandare stefano scusa se io non a spellato le parole corretamente io parlo italiano meglio di me scrivere.
Title: Re: Unable to see inbox from web nor client
Post by: sektor on February 26, 2011, 05:13:34 AM
It didn't break my server it's functioning perfectly and it's my own personal server not a big production one.

You should not make modifications like this, as this might brake your server as you already noticed. Please move the directory back to it's proper place and adjust the configuration accordingly.
Title: Re: Unable to see inbox from web nor client
Post by: cactus on February 26, 2011, 09:03:06 AM
It didn't break my server it's functioning perfectly and it's my own personal server not a big production one.
But it might as SME Server is expecting your home path to be at the default location not on the place you are having it now. You should be able to use a shell in the default settings of your SME Server, if that does not work you should have raised a bug instead of trying to find a work around. As it should work, there clearly must be something wrong in your situation and perhaps for others as well.