-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, I am using dovecot 1.0.13 with sieve plugin, index, control and allow nets in my userdb per user. I am trying to have the same configuration with dovecot 1.1 and MySQL. According to log files when a virtual user is connecting to dovecot, the dovecot reads from MySQL the correct values but dovecot doesnt create the dirs for INDEX, CONTROL and the allow_nets is bypasses. - From my logs : dovecot: May 14 20:56:23 Info: auth(default): master out: USER 12 ebalaskas at ebalaskas.gr uid=1002 gid=8 mail=maildir:/var/mail/ebalaskas.gr/ebalaskas INDEX=/var/mail/.index/ebalaskas.gr/ebalaskas CONTROL=/var/mail/.control/ebalaskas.gr/ebalaskas allow_nets=10.10.10.192 The connection is ok (i tested via telnet and webmail) but my IP is : 10.10.10.102 and there isnt any /var/mail/.index/ebalaskas.gr/ebalaskas or /var/mail/.control/ebalaskas.gr/ebalaskas folders The only thing is the folder : var/mail/ebalaskas.gr/ebalaskas the dovecot-sql.conf is correct (you can see this from my logs) so what is wrong ??? Evaggelos Balaskas - http://ebalaskas.gr Unix System Engineer Informatics Engineer Technological Education -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIKykUWIK+Pe9twhoRAhemAJ0ff793TAsqhDhrAZ7pbATLmDrJggCfXjDZ Cfiojr0LoJc0Vtif6XjfoTs=Jeph -----END PGP SIGNATURE-----
On Wed, 2008-05-14 at 21:01 +0300, Evaggelos Balaskas wrote:> I am trying to have the same configuration with dovecot 1.1 and MySQL. > According to log files when a virtual user is connecting to dovecot, > the dovecot reads from MySQL the correct values but dovecot doesnt > create the dirs for INDEX, CONTROL and the allow_nets is bypasses. > > - From my logs : > dovecot: May 14 20:56:23 Info: auth(default): master out: USER 12 > ebalaskas at ebalaskas.gr uid=1002 gid=8 > mail=maildir:/var/mail/ebalaskas.gr/ebalaskas > INDEX=/var/mail/.index/ebalaskas.gr/ebalaskas > CONTROL=/var/mail/.control/ebalaskas.gr/ebalaskas allow_nets=10.10.10.1921) There seem to be spaces between mail/INDEX/CONTROL? They're supposed to be separated by ':', not spaces. 2) allow_nets is supposed to be in password_query, not in user_query. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080515/9e40750d/attachment-0002.bin>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Timo thanks again, allow_nets worked perfectly INDEX and CONTROL are now with delimiter : here is my log : dovecot: May 15 17:01:44 Info: auth(default): master out: USER 3 ebal at ebalaskas.gr home=/var/mail/ uid=1108 gid=8 mail=maildir:/var/mail/ebalaskas.gr/ebal:INDEX=/var/mail/.index/ebalaskas.gr/ebal:CONTROL=/var/mail/.control/ebalaskas.gr/ebal but there is not index nor control folder created under /var/mail Any ideas ? Timo Sirainen wrote:> On Wed, 2008-05-14 at 21:01 +0300, Evaggelos Balaskas wrote: > >> I am trying to have the same configuration with dovecot 1.1 and MySQL. >> According to log files when a virtual user is connecting to dovecot, >> the dovecot reads from MySQL the correct values but dovecot doesnt >> create the dirs for INDEX, CONTROL and the allow_nets is bypasses. >> >> - From my logs : >> dovecot: May 14 20:56:23 Info: auth(default): master out: USER 12 >> ebalaskas at ebalaskas.gr uid=1002 gid=8 >> mail=maildir:/var/mail/ebalaskas.gr/ebalaskas >> INDEX=/var/mail/.index/ebalaskas.gr/ebalaskas >> CONTROL=/var/mail/.control/ebalaskas.gr/ebalaskas allow_nets=10.10.10.192 > > 1) There seem to be spaces between mail/INDEX/CONTROL? They're supposed > to be separated by ':', not spaces. > > 2) allow_nets is supposed to be in password_query, not in user_query. >- -- Evaggelos Balaskas - http://ebalaskas.gr Unix System Engineer Informatics Engineer Technological Education -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFILEO8WIK+Pe9twhoRAmw1AJ4sRNJaHmfw+F2iBbBYFr7WbPFTvgCeNPko aRZMkLjT/WNofn7PZdMoS4s=A+GC -----END PGP SIGNATURE-----