highlander
09-29-2001, 12:52 PM
We have installed neomail and it seems to work properly except that when you try to send an email or move one to the trash folder there is an error. The message is couldn't close sent-mail folder or couldn't close neomail-trash.
This happens with several different domains.
Any ideas?
Robert
mhosang
09-30-2001, 06:03 PM
I have the same problem... but not yet solved.. :-(
SoftWareRevue
09-30-2001, 06:08 PM
I've noticed the same error message at times. Yet everything still functions properly (especially after reloading the page). ;)
webbcite
11-13-2001, 01:19 AM
The problem is for some reason the users mail folder in /home/sites/sitexx/users/username/mail is set to user=username and group=users. For some reason it doesn't like the "users" group for the mail folder. To fix:
chown -R username.sitexx /home/sites/sitexx/users/username/mail
Where username is the name of the user and sitexx is the site number for the site the user belongs to.
This should fix it...
swissfreak
11-13-2001, 05:23 AM
I had the same problem - but only with one domain.
I fixed this like webbcite describes (see above). The fix works.
highlander
11-13-2001, 05:45 AM
Excellent, that simple change seems to do the trick ;)
Robert
hitspot
11-18-2001, 01:28 AM
OR.. You can use this fix, which I think is somewhat better since it automatically fixes the problem for future new virtual sites, you only have to manually fix old ones:
---------------------
I'm not an expert, but I had a similar problem:
"cannot close mail-sent" or "cannot open Inbox"
I figured out after a while that the user doesn't have
writing rights on its mail folder under users (neomail
creates it the first time...but for some reasons some
time it doesnt work...)
Solved this way for existing Users:
deleted the 'mail' folder under /home/sites/siteX/users/userX/
connected via FTP with the username 'userX' and created
an empty folder called 'mail'.... and now it works fine...
for New users:
I've added a 'mail' dir in the /etc/skel/users/en_US/ directory
...so that the mail folder is automatically created when a
new user is set-up..
I hope it helps... let me know!
Dave
----------------------
NewonNet
11-18-2001, 04:10 AM
Originally posted by webbcite
The problem is for some reason the users mail folder in /home/sites/sitexx/users/username/mail is set to user=username and group=users. For some reason it doesn't like the "users" group for the mail folder. To fix:
chown -R username.sitexx /home/sites/sitexx/users/username/mail
Where username is the name of the user and sitexx is the site number for the site the user belongs to.
This should fix it...
Yes that does fix it.
Is there a way to modify neomail script to make sure it create the directory with the right owner and group?
binasys
11-18-2001, 01:09 PM
On line 338 in neomail.pl it should look like this:
chown ($uid, $gid, $folderdir);
chmod 0700,$folderdir;
Replace $gid with 12 which is the id for mail. Like so:
chown ($uid, 12, $folderdir);
chmod 0700,$folderdir;
Everything will then work fine. You may want to do the following to all the users like in an earlier post, but with the mail group:
chown -R username.mail /home/sites/sitexx/users/username/mail