Koozali.org: home of the SME Server

How to get webmail to collect mail

David Pennycuick

How to get webmail to collect mail
« on: October 21, 2003, 07:03:19 AM »
Sorry to ask what is probably a dumb question.... but I have spent some time searching the forums and manual for the solution and still don't get it.  

I have had 5.1 > 5.5 & now 5.6 running as a local file server for some time.  Now I have dyndns running and want to run my own email on the server.   I have set it up and can send emails either from the webmail interface or from outlook express on windows boxes.... but I cant see the incoming mail.

The mail appears in the queue:

Report generated: Tue 21 Oct 2003 11:57:16 AM EST

messages in queue: 9
messages in queue but not yet preprocessed: 0

End of Report

and I can see it in the logs - but with an Uh-oh:
(bunya is the name of the server)

1066700922.468519500 qp 2495: to=local.alias-localdelivery-davidp@xxxx.com, uid=401, ddelay=0.307074, xdelay=0.243515, stat=Sent (forward:_qp_2498/did_0+0+1/)
1066700922.496200500 qp 2495: from=, uid=401, size=1204, nrcpts=1, deferrals=0, qtime=0.334755
1066700922.496745500 qp 2498: to=local.davidp@bunya.xxxx.com, uid=400, ddelay=0.045967, xdelay=0.028989, stat=Deferred (Uh-oh:_home_directory_is_writable._(#4.7.0)/)
1066701023.515207500 qp 2498: to=local.davidp@bunya.xxxx.com, uid=400, ddelay=101.064429, xdelay=0.003184, stat=Deferred (Uh-oh:_home_directory_is_writable._(#4.7.0)/)
1066701323.569432500 qp 2498: to=local.davidp@bunya.xxxx.com, uid=400, ddelay=401.118654, xdelay=0.003371, stat=Deferred (Uh-oh:_home_directory_is_writable._(#4.7.0)/)

I am sure the answer is obvious - I just haven't looked in the right place yet.....

thanks

dp

David Pennycuick

Re: How to get webmail to collect mail
« Reply #1 on: October 21, 2003, 07:05:18 AM »
ps:   netxxxx.net.au is my isp a/c  ;  xxxx.com is my domain.

Jon Blakely

Re: How to get webmail to collect mail
« Reply #2 on: October 21, 2003, 11:13:23 AM »
David,

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 helps

Jon

David Pennycuick

Re: How to get webmail to collect mail
« Reply #3 on: October 21, 2003, 06:58:36 PM »
Thanks Jon.....

That fixed it.

I had changed the others permission on the /davidp directory as a quick way of making it writable as a share from windows....

Charlie Brady

Re: How to get webmail to collect mail
« Reply #4 on: October 21, 2003, 08:24:50 PM »
David Pennycuick wrote:

> 1066701323.569432500 qp 2498: to=local.davidp@bunya.xxxx.com,
> uid=400, ddelay=401.118654, xdelay=0.003371, stat=Deferred
> (Uh-oh:_home_directory_is_writable._(#4.7.0)/)
                ^^^^^^^^^^^^^^^^^^^^^^^^

> I am sure the answer is obvious - I just haven't looked in
> the right place yet.....

The error message is a good place to start. :-)

Charlie

David Pennycuick

Re: How to get webmail to collect mail
« Reply #5 on: October 22, 2003, 05:01:15 AM »
Charlie Brady wrote:

> The error message is a good place to start. :-)

true Charlie - Its been 12 months since I last was into the server playing with the file structure - thats how reliable it is.  I guess when I was reading the error message I was not understanding the difference between the /home directory, and the users home directory which is 5 deep.  Anyway, thanks to Jon's patience I do now.

Perhaps one day I will know enough.........