26 Jan
2008
26 Jan
'08
10 p.m.
Maxime Brugidou wrote:
Can you do this with /etc/passwd ?
I tried to put a line like this :
pseudo:x:1010:100:My Name,,,:/home/pseudo:/bin/zsh:userdb_mail=mbox:~/mail
But it doesn't work : I cannot even login using that line (the shell is considered to be /bin/zsh:userdb_mail=mbox:~/mail)
I already searched the wiki, and didn't find my answer. I apologize if I am mistaken and do it wrong, but please explain me how to do this.
Max
You cannot do that with the /etc/passwd, only with a passwd-file. Not very useful if you are using them as actual system users.
What you probably need to do is override the mail_executable setting to point to a script. See the last section in http://wiki.dovecot.org/MailLocation
~Matt