Re: When will passdb callback to mechanism yield PASSDB_RESULT_NEXT?

2017-05-29 Thread Aki Tuomi
On 27.05.2017 23:02, Peter Mogensen wrote: > Hi, > > code question... > > I've been trying to figure out the implications of the new > "noauthenticate" passdb field. > > Internally it causes a passdb to result in PASSDB_RESULT_NEXT. > > When a SASL mechanism calls > auth_request_lookup_credential

user-defined special-use folders

2017-05-29 Thread Fabian Schmidt
I plan to define SPECIAL-USE mailboxes and think about defining per user special-use folders for those who don't use the default folder names. Is this possible in dovecot? What I try: $ doveadm exec imap * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SOR

Re: user-defined special-use folders

2017-05-29 Thread Teemu Huovila
On 29.05.2017 12:31, Fabian Schmidt wrote: > > I plan to define SPECIAL-USE mailboxes and think about defining per user > special-use folders for those who don't use the default folder names. Is this > possible in dovecot? > > What I try: > $ doveadm exec imap > * PREAUTH [CAPABILITY IMAP4rev

SSL problem - no banner

2017-05-29 Thread Marcio Merlone
Hi, I am running dovecot 2.2.22-1ubuntu2.4 on a ubuntu 16.04 server. It has a valid Letsencrypt certificate but the problem also happens with a self-digned one. Only openssl s_client -connect localhost:993 works fine and fast, while all MUA's and telnet does not. Telnet timeouts waiting for

Re: SSL problem - no banner

2017-05-29 Thread Aki Tuomi
> On May 29, 2017 at 9:27 PM Marcio Merlone wrote: > > > Hi, > > I am running dovecot 2.2.22-1ubuntu2.4 on a ubuntu 16.04 server. It has > a valid Letsencrypt certificate but the problem also happens with a > self-digned one. > > Only openssl s_client -connect localhost:993 works fine and f

Re: MySQL issue

2017-05-29 Thread Amaechi Janneh
Yes it is. On Mon, May 29, 2017 at 12:28 AM, Luigi Rosa wrote: > Amaechi Janneh wrote on 29/05/2017 02:47: > > May 28 20:20:32 AmaechiJ dovecot[10516]: auth-worker(10892): Error: sql( >> a...@example.com,): User query failed: Table 'mailserver.users' doesn't >> exist >> > > Start MySQL command l

Re: MySQL issue

2017-05-29 Thread Odhiambo Washington
On 29 May 2017 at 03:47, Amaechi Janneh wrote: > Hello. > > It appears that I have an issue with my dovecot setup. When trying to > authenticate, i get this error: > > May 28 20:18:26 AmaechiJ dovecot[10516]: imap-login: Login: user=< > a...@example.com>, method=PLAIN, rip=, lip=, mpid=10879, TLS

Re: MySQL issue

2017-05-29 Thread Luigi Rosa
If you put the database name in the connect string you can omit it in the query Append at the end of the connect string "dbname=mailserver" and remove "mailserver." from the table name Of course the user you are using must have at least SELECT access to db mailserver Amaechi Janneh wrote o