XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Webmail Add-ons > Ilohomail --> Couldn't Create User Dir


Posted by: bim Dec 24 2004, 03:27 AM
I've been trying to solve this problem for hours now and still haven't moved on a bit.

I'm using Fedora Core 3. I added the user "wwwrun" and am now runnen apache as that user (checked it with "ps -ef | grep httpd"). I installed IlohaMail from RPM (which likes to think wwwrun is the user apache uses, that's why I changed that). I double checked if wwwrun should have write access to the data folder and all its subfolders... I even logged in as wwwrun with ssh and tried making that directory. It worked!

But in IlohaMail I still get "Couldn't create user dir" when I try to log in to an account.

I wrote this little script for testing:
QUOTE
<?php

    if(@mkdir("/home/wwwrun/test")) {
    $error .= "yes";
    }else{
    $error .= "no";
    }

echo $error;

?>


It returns "no", while apache is running is "wwwrun" and (obviously) /home/wwwrun is owned by wwwrun and the owner has read, write an execute permissions.

Does anybody know what might be going wrong?

Posted by: atomant Dec 24 2004, 06:41 AM
Check permissions on IlohaMail folder. They need to be owned by wwwrun. By default all files are in /var/www.

Posted by: bim Dec 24 2004, 10:47 AM
QUOTE (atomant @ Dec 24 2004, 07:41 AM)
Check permissions on IlohaMail folder. They need to be owned by wwwrun. By default all files are in /var/www.

Yes, tried that. Did a
chown -R -v wwwrun htdocs
from /var/www (IlohaMail is in /var/www/htdocs/IlohaMail).

I also did a chown -R -v wwwrun ilohamail in /usr/lib. Because /var/www/htdocs/IlohaMail really is a virtual link to /usr/lib/ilohamail.

And I still get that error...

any ideas?

Posted by: atomant Dec 24 2004, 09:40 PM
Try to move from /usr/lib to /var/www/htdocs and test again.

Posted by: bim Dec 27 2004, 02:15 AM
Sorry for not getting back on this... I got it working. I however am not 100% sure how :-( It could have been because I disabled SELinux...

But I didn't really like the result... IlohaMail is a really basic webmail client that doesn't support folders for a POP3 mailserver (like UebiMiau did, however buggy it may be). So I'm now banging my head on OpenWebmail, but not having much luck with that either... Might be changing back to Fedora Core 2 or do a complete fresh install of Core 3... I'll keep you posted.

Posted by: BooT Jan 11 2005, 05:59 PM
I like IlohaMail

It is very fast..... But would love to have folders included... but no luck there aswell....

And Ubi...It is 2 slow....

So sticking to IlohaMail now.

Posted by: atomant Jan 11 2005, 08:07 PM
Just be patient, IMAP is comming...don't know when but soon cool.gif

Posted by: bim Jan 11 2005, 08:44 PM
I'm now using Uebimiau from http://vermue.dutchosting.info/ and rather like it. Some bugs have been fixed. I have it installed on a brand new server, so don't have any problems with the speed...

Posted by: BooT Jan 11 2005, 08:51 PM
Bim.... Which version u using?

Posted by: bim Jan 12 2005, 12:58 AM
I'm using 2.7.8. You'll first need to install the 2.7.8 RC you can download from the Uebimiau website and then copy over some files from the file you can download from http://vermue.dutchosting.info/ since he doesn't distribute a complete version.

Posted by: royblack Jan 15 2005, 05:31 PM
I faced this problem, couldn't create user dirs. It fixed simply: Create INBOX.NewDir instead of creating NewDir. This relates only Courier-IMAP because its structure.
Hope it will help.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)