Re: [Dovecot] How to stop mail_executable from cwd to ~home
Timo wrote:
As to how to stop the mail process from chdir'ing to a home directory
If you don't want Dovecot to use a home directory, don't tell it a home directory.
I'm all for that since I don't seem to have any need for a home directory. Any idea of how to do it with a passwd-file userdb backend? I also tried to override home directory with
userdb {
driver = passwd-file
args = /etc/passwd home=/bundled/home/$n
}
but that didn't work out too well. Or is this feature a rephrasing of the current topic thread "Global fields for passwd-file database".
Joseph Tam jtam.home@gmail.com
On 24.5.2011, at 0.48, Joseph Tam wrote:
As to how to stop the mail process from chdir'ing to a home directory
If you don't want Dovecot to use a home directory, don't tell it a home directory.
I'm all for that since I don't seem to have any need for a home directory. Any idea of how to do it with a passwd-file userdb backend?
Why do you have home directories listed in the passwd-file if you don't want to use them?
I also tried to override home directory with
userdb { driver = passwd-file args = /etc/passwd home=/bundled/home/$n }
but that didn't work out too well. Or is this feature a rephrasing of the current topic thread "Global fields for passwd-file database".
Could be.
On Tue, 24 May 2011, Timo Sirainen wrote:
Why do you have home directories listed in the passwd-file if you don't want to use them?
It's the authentication database for everything, not just Dovecot. I I guess I could just synthesize one by creating an auxilliary password file with the other information stripped out. Or just let dovecot do an automount on a per-user demand and see how it goes -- I think this only becomes a concern if I do a doveadm command with wildcarded users.
Joseph Tam jtam.home@gmail.com
participants (2)
-
Joseph Tam
-
Timo Sirainen