Re: [Dovecot] Problem with sasl auth with postfix...
----- "Timo Sirainen" tss@iki.fi wrote:
On Fri, 2009-03-13 at 16:40 -0400, Douglas M. Stanley wrote:
Yep, postfix is installed:
mailserver:/etc/postfix# postconf -h mail_owner postfix ..
Mar 13 19:16:30 mailserver dovecot: auth(default): User doesn't exist: postfix
Does your Postfix installation actually work? What user do you see running the Postfix processes?
Yep, works fine. The user running the postfix processes is postfix:
root 4219 1 0 19:28 ? 00:00:00 /usr/lib/postfix/master postfix 4302 4219 0 19:48 ? 00:00:00 qmgr -l -t fifo -u postfix 4319 4219 0 19:49 ? 00:00:00 tlsmgr -l -t unix -u -c postfix 4352 4219 0 21:27 ? 00:00:00 pickup -l -t fifo -u -c
Thanks, Doug
On Fri, 2009-03-13 at 17:50 -0400, Douglas M. Stanley wrote:
Mar 13 19:16:30 mailserver dovecot: auth(default): User doesn't exist: postfix
Does your Postfix installation actually work? What user do you see running the Postfix processes?
Yep, works fine. The user running the postfix processes is postfix:
root 4219 1 0 19:28 ? 00:00:00 /usr/lib/postfix/master postfix 4302 4219 0 19:48 ? 00:00:00 qmgr -l -t fifo -u
Oh. I've heard this before! You've set auth_process_size to 64. Why? It's too low and causes NSS plugin loading to fail silently and return "User doesn't exist" error. Wonder if I could detect this somehow..
----- "Timo Sirainen" tss@iki.fi wrote:
On Fri, 2009-03-13 at 17:50 -0400, Douglas M. Stanley wrote:
Mar 13 19:16:30 mailserver dovecot: auth(default): User doesn't exist: postfix
Does your Postfix installation actually work? What user do you see running the Postfix processes?
Yep, works fine. The user running the postfix processes is postfix:
root 4219 1 0 19:28 ? 00:00:00 /usr/lib/postfix/master postfix 4302 4219 0 19:48 ? 00:00:00 qmgr -l -t fifo -u
Oh. I've heard this before! You've set auth_process_size to 64. Why? It's too low and causes NSS plugin loading to fail silently and return "User doesn't exist" error. Wonder if I could detect this somehow..
Huh, how odd...well the reason was it's in a VM with only 128mb total memory, so I set it lower. Should have known it was something silly like that that I changed from my original config and didn't think it would matter!
Thanks so much!
Doug
On Fri, 2009-03-13 at 18:35 -0400, Douglas M. Stanley wrote:
Oh. I've heard this before! You've set auth_process_size to 64. Why? It's too low and causes NSS plugin loading to fail silently and return "User doesn't exist" error. Wonder if I could detect this somehow..
Done: http://hg.dovecot.org/dovecot-1.1/rev/abef63c0613b
It now logs:
getpwnam() failed for some reason. Is auth_process_size set to too low?
Huh, how odd...well the reason was it's in a VM with only 128mb total memory, so I set it lower. Should have known it was something silly like that that I changed from my original config and didn't think it would matter!
The *_process_size are VSZ limits, not RSS limits. So if you're using an OS which uses address space layout randomization or something else that causes each process to take about 64 MB of VSZ simply at startup, you really shouldn't set the limits very low.
participants (2)
-
Douglas M. Stanley
-
Timo Sirainen