Re: [Dovecot] misconception in uid and gid

2013-08-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 1 Aug 2013, Felix Rubio Dalmau wrote: I'm using a SQL database to store the usernames and passwords of my users. However, I have found that I must explicitly return the uid and gid with every query, even though all virtual users

Re: [Dovecot] misconception in uid and gid

2013-08-02 Thread Felix Rubio Dalmau
Hi everybody, I have pasted my configuration in http://snipt.org/AThd4 Then, I understand that the easiest to do is to change the permissions of the socket but... which socket?? Additionally, userdb-auth is showing permissions srw-rw-rw- Regards! Felix On

Re: [Dovecot] misconception in uid and gid

2013-08-02 Thread Felix Rubio Dalmau
Axel, Steffen :-) Thank you very much, by following your advice I have gotten to work dovecot :-). I finally took Axel's approach, because looked more simple to me. Thanks! Regards! Felix

[Dovecot] misconception in uid and gid

2013-08-01 Thread Felix Rubio Dalmau
Hi, I'm using a SQL database to store the usernames and passwords of my users. However, I have found that I must explicitly return the uid and gid with every query, even though all virtual users use the same uid and gid. The query, that works, is: user_query = SELECT mail,

Re: [Dovecot] misconception in uid and gid

2013-08-01 Thread Axel Luttgens
Le 1 août 2013 à 15:43, Felix Rubio Dalmau a écrit : [...] Nevertheless, if I remove the segments 'vmail' AS uid, 'vmail' AS gid and modify the file conf.d/10-mail.conf to show mail_uid = vmail mail_gid = vmail I get this error: dovecot: auth: Error: