Koozali.org: home of the SME Server

Unable to see inbox from web nor client

Offline sektor

  • **
  • 23
  • +0/-0
Unable to see inbox from web nor client
« 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.
« Last Edit: February 26, 2011, 05:20:51 AM by sektor »

Offline sektor

  • **
  • 23
  • +0/-0
Re: Unable to see inbox from web nor client
« Reply #1 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Unable to see inbox from web nor client
« Reply #2 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Unable to see inbox from web nor client
« Reply #3 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?

Offline sektor

  • **
  • 23
  • +0/-0
Re: Unable to see inbox from web nor client
« Reply #4 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.

Offline sektor

  • **
  • 23
  • +0/-0
Re: Unable to see inbox from web nor client
« Reply #5 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.

Offline sektor

  • **
  • 23
  • +0/-0
Re: Unable to see inbox from web nor client
« Reply #6 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Unable to see inbox from web nor client
« Reply #7 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)