On 02/dic/2009, at 18.58, Timo Sirainen wrote:

> On Dec 2, 2009, at 11:17 AM, Andre wrote:
> 
>> I know I can launch authtest specifing path to socket, but I think it would 
>> be better if authtest would parse dovecot.conf and find out where sockets 
>> are. I’ve tried to code it by myself, but I’ve had no time to go deep in the 
>> code. Is it possible to have this “feature” added???
> 
> You could also add multiple auth sockets, one for Postfix and another for 
> authtest.
> 
This is the correct solution! I suspected it was possible, but did not find 
evidence of it in documentation. With a little try I found you can define more 
than one "socket listen” section. Mementum for who could have my same problem:

  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0600
      user = mail
      group = mail
    }
    client {
      path = /var/run/dovecot/auth-client
      mode = 0660
    }
  }
  socket listen {
    client {
      path = /var/spool/postfix/private/auth
      mode = 0666
      user = postfix
      group = postfix
    }
  }

Thanks
Andre

Reply via email to