Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Nate on July 17, 2002, 05:10:18 PM
-
Uh-oh:_home_directory_is_writable.
That is the error on messages that I get on all emails going to the admin@xxx.net account. What are the correct permissions on the home directory and where is that directory located? All the other accounts work fine.
thanks,
-
Don't feel bad, I've done that before. Qmail won't deliver mail if the user directories are writable or executable to all. The correct permissions should be:
(Home directories are in /home/e-smith/files/users)
Home Directory: 700
Home Directory/Maildir: 755
Home Directory/home: 755
Owner and Group should be the username.
Hope this helped,
Nathan
-
The admin folder doesn't contain a Maildir like the other users. Adding one didn't help either. Not sure if it matters, but I have the junkfiltering/procmail installed.
thanks,
Nate
-
Oh, I didn't see the admin part. I don't have a Maildir or .qmail file for admin so I assume that admin@ is simply a redirection to another account. Verify the correct permissions on your other folders, ensure they are correct.
Nathan
-
Nathan Fowler wrote:
> Oh, I didn't see the admin part. I don't have a Maildir or
> .qmail file for admin
You don't? There is no ~admin/.qmail, but there should be a ~admin/Maildir/.
Charlie
-
Charlie, negative. I'm E-Smith 4.1.2, I have no maildir for the admin account.
The server is configured to forward all administrative messages to an alternate user account.
[root@inet01 admin]# pwd
/home/e-smith/files/users/admin
[root@inet01 admin]# ls -la
total 12k
dr-x------ 3 admin admin 4.0k May 22 2001 .
drwxr-xr-x 66 root root 4.0k Jun 28 08:14 ..
drwx------ 2 admin admin 4.0k Mar 29 2001 home
[root@inet01 admin]#
Change other email settings
Administrative notices generated by the e-smith server are normally
emailed to the admin account. If you would like them to be emailed
elsewhere, please enter the email address below. Otherwise, leave this
field blank.
Forwarding address for administrative notices:
evilghost@stickit.nu____________
-
new msg 622223
@400000003d35f455041beb04 info msg 622223: bytes 1717 from qp 5957 uid 400
@400000003d35f45504450e44 starting delivery 170: msg 622223 to local admin@server.xxxx.homeip.net
@400000003d35f455044548dc status: local 3/10 remote 0/20
@400000003d35f4550445604c delivery 168: success: forward:_qp_5957/did_0+0+1/
@400000003d35f455044577bc status: local 2/10 remote 0/20
@400000003d35f45504839614 delivery 170: deferral: Uh-oh:_home_directory_is_writable._(#4.7.0)/
@400000003d35f4550483d0ac status: local 1/10 remote 0/20
Here is a chunk from the log. It seems the Maildir and Mail folders for admin are in the /home/e-smith/ folder. Both are group and owner are admin. Only admin has write priviledges. Any other places to look?
-
update:
I changed the pseudonym's for postmaster and mailer-daemon and Forwarding address for administrative notices all to a known good and working email(junkmail) address. I still get the same error when sending to postmaster or mailer-daemon or root, yet normal emails to junkmail are recieved correctly. Also, the regular pseudonym's work just fine(webmaster account goes to me correctly) Any ideas what I need to look at?
thanks for the help
Nate
-
The admin/postmaster Maildir should be located in /home/e-smith/Maildir
Here are the permissions I have:
/home/e-smith
drwxr-xr-x 8 admin admin 4096 Jul 15 01:12 e-smith
/home/e-smith/Maildir
drwx------ 5 admin admin 4096 Jul 8 21:30 Maildir
Atleast this is how it is on SME 5.5 ...
-
Sweet!! that seemed to fix it. The permissions on the /home/e-smith directory were available to all.
thanks to everybody that helped.
Nate