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 -> Ilohomail --> Couldn't Create User Dir

Reply to this topicStart new topic

> Ilohomail --> Couldn't Create User Dir, (PHP-problem?)
bim
Posted: Dec 24 2004, 03:27 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



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?
PM
Top
atomant
Posted: Dec 24 2004, 06:41 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Check permissions on IlohaMail folder. They need to be owned by wwwrun. By default all files are in /var/www.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
bim
Posted: Dec 24 2004, 10:47 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



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?
PM
Top
atomant
Posted: Dec 24 2004, 09:40 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Try to move from /usr/lib to /var/www/htdocs and test again.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
bim
Posted: Dec 27 2004, 02:15 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



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.
PM
Top
BooT
Posted: Jan 11 2005, 05:59 PM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



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.


--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
atomant
Posted: Jan 11 2005, 08:07 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Just be patient, IMAP is comming...don't know when but soon cool.gif


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
bim
Posted: Jan 11 2005, 08:44 PM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



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...
PM
Top
BooT
Posted: Jan 11 2005, 08:51 PM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Bim.... Which version u using?


--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
bim
Posted: Jan 12 2005, 12:58 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



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.
PM
Top
royblack
Posted: Jan 15 2005, 05:31 PM
Quote Post


Junior Member
**

Group: Members
Posts: 27
Member No.: 1031
Joined: 11-April 04



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.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Webmail Add-ons | Next Newest »

Reply to this topicStart new topic