Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: brian2hand on May 11, 2004, 03:00:28 AM
-
HI all,
I currently have a lot of very irate users.
I upgraded my system from 5.6 to 6.01-01 over the weekend and now most users have lost access to any email they had stored in sub-folders. The folders are still on the system, but are prefixed with an ";" (semi-colon) and I do not know how to get into to those folders or rename them. Both "cd" and "mv" come up with an error saying "missing file argument"
I have checked folder and file ownership and permissions are 750
I also tried the imap-relocate-maildirs script in /etc/e-smith/events/actions with no luck.
Any ideas?
-
R U sure the users own the files in their home directories? I have been doing some testing over the last several days with backing up and restoring files from 6.0 to 6.01 and 6.01 to 6.01. I have always had to go and chown -R user.user * in my test user's home directories. Then my mail and subfolders re-appear.
-
Do you do it exactly as you have entered it? I had done it slightly differently...
I have a script set up with a line for each users name as follows:
chown ianto:ianto ianto -R
chown john:john john -R
This is run in the /home/e-smith/files/users directory
if I type in ll -R it lists each file and folder as belonging to the correct user.
-
No, :-(
Your command is much better than what I was doing. It yields the same results, though.
Can you create a new user, then look at the user's directory and see what are the permissions are for the Mail and Maildir directories. Also, if you can create a new user, can you send an e-mail to an existing user and see if that user receives the mail?
I would hope not.
That's about all I can think of at the moment to do.
Sorry,
JB
-
I can create new users and they work fine - permissions are the same.
Even the existing users can send and receive email - it is the sub-folders they have created that are not accessible. Most of my own ones are fine, except for one subfolder - it is only a few users that seem to be affected.
I upgraded a test machine for a week with none of these problems before upgrading our server, now this problem has emerged.
The problem seems to be the apostrophe ( ; )that has been added before the folder name.
They still appear as folders in twiggi and on the disk, but with an apostrophe as a leader. Twiggi shows no mail in the folder if you click on it and I do not know how to go into the folder from the command prompt to check, as the apostrophe ( ; )at the beginning of each folder name is obviously the problem - I keep getting the "missing file argument" message - how do I get rid of the apostrophe or bypass it. I cannot find any info on it in any man pages - anyone?
-
TWIGGI, is a fork of TWIG, that Darrell May supports. I just pulled this off of forum from Darrell May's site. www.myezserver.com
/sbin/e-smith/db /home/e-smith/nngroupware setprop TWIGGIconfig imap_port "\"143/notls\""
/sbin/e-smith/db /home/e-smith/nngroupware setprop TWIGGIconfig mail_folder_delimiter "\";\""
/sbin/e-smith/db /home/e-smith/nngroupware setprop TWIGGIconfig imap_path "\"\""
/sbin/e-smith/signal-event twiggi-update
This looks like what you need.
JB
-
More from the site:
The above is set via the Twiggi server-manager panel.
-
:-o well.....
After doing that, now no-one can send email.
I have tried restarting the server, etc.....
just getting worse.
this is an extract of my qmail log file
2004-05-11 14:06:03.443974500 starting delivery 7: msg 3139929 to local di@fs1.****.com.au
2004-05-11 14:06:03.443979500 status: local 1/10 remote 0/20
2004-05-11 14:06:03.445098500 delivery 7: deferral: Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
2004-05-11 14:06:03.445103500 status: local 0/10 remote 0/20
2004-05-11 14:07:47.437542500 starting delivery 8: msg 3139704 to local iantow@fs1.***.com.au
2004-05-11 14:07:47.437547500 status: local 1/10 remote 0/20
2004-05-11 14:07:47.438743500 delivery 8: deferral: Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
2004-05-11 14:07:47.438748500 status: local 0/10 remote 0/20
-
I did install all of the yum updates except anaconda and newt in the middle of all of this on telephonic advice, to try and solve the missing mail problems, which may have caused the situation with my being unable to send any mail now.
I have a full copy of my whole server except /proc on another machine which is rsync'd daily from last night.
Can I just rsync it back to get back where I was when I started or will it cause other problems?
-
I am sorry I was unable to help you. I don't run TWIGGI, so I can't test or duplicate your issue. I suggest you ask in Darrell's forum at www.myezserver.com and see if you can get this corrected.
:-(
JB
-
Qmail is touchie about permissions on the Maildir directory and the
.qmail file. The maildir including it's subdirectories should be set to
700. The .qmail file should be set to 400.
Succes,
Peter