Re: [Dovecot] Automounted home dirs not working

2008-05-15 Thread Bill Cole
At 10:29 AM -0400 5/15/08, Roy McMorran wrote: Timo Sirainen wrote: But it never succeeds on first try? Nope. If you enable more verbosity on automountd (-v -T?) does it correctly log all the chdir attempts? Anyway I've really no idea why it wouldn't work. Maybe try asking in some Solari

Re: [Dovecot] Automounted home dirs not working

2008-05-15 Thread Roy McMorran
Timo Sirainen wrote: But it never succeeds on first try? Nope. If you enable more verbosity on automountd (-v -T?) does it correctly log all the chdir attempts? Anyway I've really no idea why it wouldn't work. Maybe try asking in some Solaris forums/lists if they can think of some reason.

Re: [Dovecot] Automounted home dirs not working

2008-05-14 Thread Timo Sirainen
On May 14, 2008, at 11:52 PM, Roy McMorran wrote: There must be some sort of race condition happening here with automount. I modified the code in mail-process.c to repeat the chdir (until CHDIR_TIMEOUT) until it succeeds, and it usually succeeds on the 2nd try. But it never succeeds on f

Re: [Dovecot] Automounted home dirs not working

2008-05-14 Thread Roy McMorran
Timo Sirainen wrote: On Mon, 2008-05-12 at 10:46 -0400, Roy McMorran wrote: ... but Dovecot isn't picking up the automounted directories. Consider the case of Arthur Dent, test user: May 12 10:30:24 testbed dovecot: [ID 107833 mail.info] imap-login: Login: user=, method=PLAIN, rip=xxx.xx

Re: [Dovecot] Automounted home dirs not working

2008-05-12 Thread Roy McMorran
Roy McMorran wrote: Timo Sirainen wrote: Does this happen only for your LDAP users or also passwd users? Before the above mkdir() Dovecot should chdir() to user's home directory. So if LDAP returns user's home directory, I'd think the chdir() causes automount? This seems to have been a Solaris i

Re: [Dovecot] Automounted home dirs not working

2008-05-12 Thread Roy McMorran
Timo Sirainen wrote: On Mon, 2008-05-12 at 10:46 -0400, Roy McMorran wrote: May 12 10:30:24 testbed dovecot: [ID 107833 mail.info] imap-login: Login: user=, method=PLAIN, rip=xxx.xxx.xxx.242, lip=xxx.xxx.xxx.242, secured May 12 10:30:24 testbed dovecot: [ID 107833 mail.error] IMAP(adent): m

Re: [Dovecot] Automounted home dirs not working

2008-05-12 Thread Timo Sirainen
On Mon, 2008-05-12 at 10:46 -0400, Roy McMorran wrote: > I'm testing Dovecot as a possible replacement for UW. In my environment > the home directories are automounted via NFS from a NetApp. In general > this works fine, but Dovecot isn't picking up the automounted > directories. Consider the

[Dovecot] Automounted home dirs not working

2008-05-12 Thread Roy McMorran
I'm testing Dovecot as a possible replacement for UW. In my environment the home directories are automounted via NFS from a NetApp. In general this works fine, but Dovecot isn't picking up the automounted directories. Consider the case of Arthur Dent, test user: May 12 10:30:24 testbed dov