View Single Post
Old 17th August 2011, 11:12
osterhase osterhase is offline
Join Date: Jul 2011
Location: Germany
Posts: 63
Thanks: 6
Thanked 7 Times in 5 Posts
Default maildomain-permissions acting strangely & user_insert returns wrong maildirowner

Hi there!

Three strange problems arised from - I don't know from where to be honest...

This is what happens:

- When a new maildomain is created nothing happens until a new mailuser is inserted (intended behavior as far as I know). When a new mailuser is created the following problems arise:

1. The [f.e.] has the permission-set 0755 (owned by vmail) and not 0700 - is that intended behavior?

2. The maildir of the new mailuser is owned by the user root (0700) which obviously leads to trouble during maildelivery.

3. If the mailuser is updated (function user_update in the user is honored by applying the correct owner to his maildir.

I thought that my problem would reside in the and I compared it with the "install-version" and only found the changes that I applied - see here.

I've attached my as textfile - maybe someone can give me a hint what's going wrong here. (It seems that line 123 is not executed. All changes are marked with "osterhase".)
Attached Files
File Type: txt (17.1 KB, 80 views)
Reply With Quote
Sponsored Links