Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Timo Sirainen
On Mon, 2010-02-15 at 14:00 +0300, Неворотин Вадим wrote: allow_nets check failed: Remote IP not known Problem is clear: smtpd don't send client IP to dovecot authentication socket. Yep. The only way you can get Postfix to send IP to Dovecot is by patching Postfix sources. But I need to

Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Неворотин Вадим
Well, I've asked this question in Postfix mail list and after discussion as I understand Postfix 2.7 send all necessary client information to Dovecot socket. But I haven't try this solution yet. 2010/2/18 Timo Sirainen t...@iki.fi On Mon, 2010-02-15 at 14:00 +0300, Неворотин Вадим wrote:

Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Timo Sirainen
Oh. I actually checked v2.7 code before replying, but I was stupidly searching only for a full rip word, while the code had \trip :) On Thu, 2010-02-18 at 18:41 +0300, Неворотин Вадим wrote: Well, I've asked this question in Postfix mail list and after discussion as I understand Postfix 2.7

[Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-15 Thread Неворотин Вадим
I use Dovecot for SASL authentication from Postfix. In Postfix main.cf I have: smtpd_sasl_type = dovecot It works good, but now I need to allow users to connect by IMAP only from given IP adresses. I've added extra field allow_nets to passdb in Dovecot, and IMAP authentication works fine. But