Ok, thanks i'll check it and i will let you know.

Now , what about the other problem?

[quote]
Sep 29 10:50:43 host1 postfix/local[19663]: 50B98441E0: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=bounced (cannot access mailbox /var/mail/user for user user. cannot open file: Permission denied)

Here some user tries to send an email to this user , and a permission denied error occurs.

Watching the permissions on the file :
-rw------- 1 user users 1499655 2010-09-29 02:18 /var/mail/user

Maybe some Dovecot process is blocking the file access ?
[/quote]

It's related to the nss lookup?

thanks !

El 01/10/2010 14:23, Timo Sirainen <[email protected]> escribió:
On Fri, 2010-10-01 at 16:56 +0000, [email protected] wrote:



> mail_location: mbox:~/mail:INBOX=/var/mail/%u



So it uses ~/ and %u here..



> passdb:

> driver: pam

> userdb:

> driver: passwd



So home should be taken from NSS lookup..



> > > mkdir(/home/NT-DOMAIN/user/mail) failed: Permission denied



This means the NSS lookup returned /home/NT-DOMAIN/user as the user's

home directory.



Are the users normally logging in as "user" or "NT-DOMAIN/user"? What

does it log with auth_debug=yes?



Anyway, this looks more like a configuration problem on your pam and

passwd (=NSS) side.



Reply via email to