[Dovecot] Problem with sasl auth with postfix...
Hello list,
I'm running into some problems, and I couldn't find any info about this anywhere on the net.
I recently set up a new debian lenny machine, and used my notes from the last debian etch machine I set up, which basically is for postfix + dovecot for sasl auth.
On my old etch box, in the dovecot.conf, in the auth default section, I have a socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } }
However, if I use the same config on my lenny setup, dovecot fails to start, and I see this in my logs:
Mar 13 19:16:30 mailserver dovecot: Dovecot v1.0.15 starting up Mar 13 19:16:30 mailserver dovecot: auth(default): User doesn't exist: postfix Mar 13 19:16:30 mailserver dovecot: Auth process died too early - shutting down Mar 13 19:16:30 mailserver dovecot: child 4623 (auth) returned error 89
Now if I comment out the user and group lines, it works fine, but the socket is owned by root, and so I have to change the mode line so that it's world readable in order for postfix to use it.
The version of dovecot in etch is: 1.0.rc15-2etch4 and the version in lenny is: 1.0.15-2.3
Any ideas why this might be happening? Did the syntax to do this change between those versions? Any input? I guess I don't mind leaving it world readable, but I wasted an entire morning trying everything to get it to work, so I guess I'm hoping some one atleast has an answer as to why it doesn't work.
Thanks,
Doug
On 13.03.2009 21:01 Douglas M. Stanley wrote:
Hello list,
I'm running into some problems, and I couldn't find any info about this anywhere on the net.
I recently set up a new debian lenny machine, and used my notes from the last debian etch machine I set up, which basically is for postfix + dovecot for sasl auth.
On my old etch box, in the dovecot.conf, in the auth default section, I have a socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } }
However, if I use the same config on my lenny setup, dovecot fails to start, and I see this in my logs:
Mar 13 19:16:30 mailserver dovecot: Dovecot v1.0.15 starting up Mar 13 19:16:30 mailserver dovecot: auth(default): User doesn't exist: postfix Mar 13 19:16:30 mailserver dovecot: Auth process died too early - shutting down Mar 13 19:16:30 mailserver dovecot: child 4623 (auth) returned error 89
Now if I comment out the user and group lines, it works fine, but the socket is owned by root, and so I have to change the mode line so that it's world readable in order for postfix to use it.
The version of dovecot in etch is: 1.0.rc15-2etch4 and the version in lenny is: 1.0.15-2.3
Any ideas why this might be happening? Did the syntax to do this change between those versions? Any input? I guess I don't mind leaving it world readable, but I wasted an entire morning trying everything to get it to work, so I guess I'm hoping some one atleast has an answer as to why it doesn't work.
Is Postfix installed on this system? If so, what shows the command postconf -h mail_owner
Regards, Pascal
The trapper recommends today: c01dcofe.0907221@localdomain.org
Yep, postfix is installed:
mailserver:/etc/postfix# postconf -h mail_owner postfix
Thanks, Doug
----- Original Message ----- From: "Pascal Volk" user+dovecot@localhost.localdomain.org To: "Douglas M. Stanley" doug@technologixllc.com Cc: "Dovecot Mailing List" dovecot@dovecot.org Sent: Friday, March 13, 2009 4:37:07 PM GMT -05:00 US/Canada Eastern Subject: Re: [Dovecot] Problem with sasl auth with postfix...
On 13.03.2009 21:01 Douglas M. Stanley wrote:
Hello list,
I'm running into some problems, and I couldn't find any info about this anywhere on the net.
I recently set up a new debian lenny machine, and used my notes from the last debian etch machine I set up, which basically is for postfix + dovecot for sasl auth.
On my old etch box, in the dovecot.conf, in the auth default section, I have a socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } }
However, if I use the same config on my lenny setup, dovecot fails to start, and I see this in my logs:
Mar 13 19:16:30 mailserver dovecot: Dovecot v1.0.15 starting up Mar 13 19:16:30 mailserver dovecot: auth(default): User doesn't exist: postfix Mar 13 19:16:30 mailserver dovecot: Auth process died too early - shutting down Mar 13 19:16:30 mailserver dovecot: child 4623 (auth) returned error 89
Now if I comment out the user and group lines, it works fine, but the socket is owned by root, and so I have to change the mode line so that it's world readable in order for postfix to use it.
The version of dovecot in etch is: 1.0.rc15-2etch4 and the version in lenny is: 1.0.15-2.3
Any ideas why this might be happening? Did the syntax to do this change between those versions? Any input? I guess I don't mind leaving it world readable, but I wasted an entire morning trying everything to get it to work, so I guess I'm hoping some one atleast has an answer as to why it doesn't work.
Is Postfix installed on this system? If so, what shows the command postconf -h mail_owner
Regards, Pascal
The trapper recommends today: c01dcofe.0907221@localdomain.org
On 13.03.2009 21:40 Douglas M. Stanley wrote:
Yep, postfix is installed:
mailserver:/etc/postfix# postconf -h mail_owner postfix
Please don't top post.
I've got no clue what it may be. Please provide the output from
dovecot -n
.
Regards, Pascal
The trapper recommends today: c01dcofe.0907221@localdomain.org
----- "Pascal Volk" user+dovecot@localhost.localdomain.org wrote:
On 13.03.2009 21:40 Douglas M. Stanley wrote:
Yep, postfix is installed:
mailserver:/etc/postfix# postconf -h mail_owner postfix
Please don't top post.
I've got no clue what it may be. Please provide the output from
dovecot -n
.
Here it is...
auth default: mechanisms: plain login digest-md5 cram-md5 user: dovecot-auth debug: yes process_size: 64 passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: prefetch socket: type: listen client: path: /var/spool/postfix/private/auth mode: 438
Regards, Pascal
The trapper recommends today: c01dcofe.0907221@localdomain.org
Thanks, Doug
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?
participants (3)
-
Douglas M. Stanley
-
Pascal Volk
-
Timo Sirainen