Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: slicknic on March 11, 2010, 11:25:07 AM
-
This morning I have migrated from an old Dell PE400 to PE SC1420 hardware for my home base SME server. It runs in Server / Gateway mode.
I used the instructions to the letter from the HowTo here http://wiki.contribs.org/Moving_SME_to_new_Hardware
After rising my new server to the live status all appeared to be working. I can access all the data in my Ibays and the config migrated across ok.
I have a problem with email and I think it is to do with permissions. Using the email client Evolution in Ubuntu connecting via IMAP I enter my password, but it then comes up with the following error and asks for my my password again.
IMAP command failed: Internal error: could not set UID/GID
I have tried logging in via webmail. On some accounts I can log in, but cant send mail.
I found the following error in the qmail log
2010-03-11 10:03:42.984941500 delivery 2: deferral: Unable_to_switch_to_/home/e-smith/files/users/username:_access_denied._(#4.3.0)/ 2010-03-11 10:03:42.984999500 status: local 0/10 remote 0/2
username is my login name. I am stumped. Can anyone offer any help with this?
Web access works fine. I have the Fetchmail and dansguardian contribs installed. I have switched off virus scanning and spam filtering for now for diags purposes but still not working.
Thanks in advance
-
I found the following error in the qmail log
2010-03-11 10:03:42.984941500 delivery 2: deferral: Unable_to_switch_to_/home/e-smith/files/users/username:_access_denied._(#4.3.0)/ 2010-03-11 10:03:42.984999500 status: local 0/10 remote 0/2
Check the permissions on the users directory, what are they currently ?
-
Ok, good call. Using ls -al I can see that the permissions look ok, but the owners are wrong.
Do you foresee any problems using the chown -R command to fix this? I dont want to break anything else.
Cheers
Nick
-
BTW the permissions for each directory are drwx------
-
Do you foresee any problems using the chown -R command to fix this? I dont want to break anything else.
Is it only the top level that has incorrect user id ?
drwx------ 7 joe joe 4096 Feb 15 13:34 joe
Or all of the sub directories as well ?
I'd try to find out why it hasn't reset the correct ids, so you should raise a bug.
Be careful when using the chown -R command and make sure your in the correct working directory before you hit return :)
-
no the Maildir has the incorrect users as well.
I suspect it would be easier to do a cold start and restore from backup.
Thanks for your help.
Nick
-
I've never used AFFA so not sure why it hasn't brought over the correct id's, you could try chown but if it was me I rather try find out what went wrong as there could be permissions problems too further down the line.
Don't forget to raise a bug against the affa contrib as something may not be noted or working properly.
-
I have a problem with email and I think it is to do with permissions.
Don't report problems here - Please report bugs and potential bugs in the bug tracker