[Dovecot] [PATCH] net_connect_*(): Wait for fd to complete connect(2) when fd is non-blocking

2011-07-30 Thread SATOH Fumiyasu
Hi, Dovecot ignores EINPROGRESS on connect(2) for non-blocking fd. This is wrong. After that, read(2) to fd (or write(2) to fd) fails with ENOTCONN if the connection of fd is not completed. The attached patch fixes this problem. -- -- Name: SATOH Fumiyasu (fumiyas @ osstech co jp) -- Business H

Re: [Dovecot] Dovecot 2.0.x + Sendmail 8.14.4 SMTP AUTH not working

2011-07-30 Thread Alexander Dalloz
Am 30.07.2011 00:58, schrieb Serhiy Kolesnyk: > As I understand Sendmail now can't find Dovecot authentication via > userdb and that's why a client isn't authenticated. Please help. Sendmail has never worked against dovecot's sasl implementation. To use SMTP AUTH with Sendmail you will have to us

Re: [Dovecot] Dovecot 2.0.x + Sendmail 8.14.4 SMTP AUTH not working

2011-07-30 Thread Serhiy Kolesnyk
Yep, I didn't pay enough attention to that. I've setup SMTP AUTH via cyrus-SASL-sql. Works fine. I try to do the same with Dovecot's Password verification by SQL server. Which "default_pass_scheme = " I should set? Password is stored as plain text in the db table field. Client (Outlook) authentica

Re: [Dovecot] [PATCH] net_connect_*(): Wait for fd to complete connect(2) when fd is non-blocking

2011-07-30 Thread SATOH Fumiyasu
Hi, I've regenerated the patch with 'hg export' instead of 'hg log -p'. (Sorry, I'm a Mercurial newbie.) At Sun, 31 Jul 2011 01:41:22 +0900, SATOH Fumiyasu wrote: > Dovecot ignores EINPROGRESS on connect(2) for non-blocking fd. > This is wrong. After that, read(2) to fd (or write(2) to fd) fails