Re: Dovecot auth-worker error after cram-md5 auth

2017-02-03 Thread Aki Tuomi
You could try install libsasl2-modules (on debian/ubuntu) or cyrus-sasl-plain (on rhel/centos) Aki On 2017-02-01 10:55, Poliman - Serwis wrote: I haven't doveadm logs in /var/log/. Are they default in another place or maybe should I turn on something? My config (default passdb block and auth_

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-03 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 1 Feb 2017, Poliman - Serwis wrote: I haven't doveadm logs in /var/log/. Are they default in another place or maybe should I turn on something? run doveadm log find as root. Maybe: doveadm log errors My config (default passdb block

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-03 Thread Poliman - Serwis
And my logs: Error from mail.err: Feb 1 09:50:01 vps342401 postfix/smtpd[699]: fatal: no SASL authentication mechanisms Feb 1 09:51:02 vps342401 postfix/smtpd[724]: fatal: no SASL authentication mechanisms Feb 1 09:51:02 vps342401 postfix/smtpd[725]: fatal: no SASL authentication mechanisms Feb

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-03 Thread Poliman - Serwis
I haven't doveadm logs in /var/log/. Are they default in another place or maybe should I turn on something? My config (default passdb block and auth_mechanisms, nothing more changed): root@vps342401:/etc/dovecot# doveconf -n # 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 3.13.0-100-generic x86_64 U

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-03 Thread Poliman - Serwis
Is there any strange thing in these config lines? 2017-02-01 9:40 GMT+01:00 Aki Tuomi : > doveadm log errors can be helpful too > > > On 01.02.2017 10:25, Poliman - Serwis wrote: > > I can check each logs, I have root privileges. > > > > 2017-02-01 9:04 GMT+01:00 Aki Tuomi : > > > >> Can you chec

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-03 Thread Poliman - Serwis
I haven't doveadm logs in /var/log/. Are they default in another place or maybe should I turn on something? My config (default passdb block and auth_mechanisms, nothing more changed): root@vps342401:/etc/dovecot# doveconf -n # 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 3.13.0-100-generic x86_64

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-01 Thread Aki Tuomi
doveadm log errors can be helpful too On 01.02.2017 10:25, Poliman - Serwis wrote: > I can check each logs, I have root privileges. > > 2017-02-01 9:04 GMT+01:00 Aki Tuomi : > >> Can you check your logs? >> >> Aki >> >> >> On 01.02.2017 10:02, Poliman - Serwis wrote: >>> When I used backup copy o

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-01 Thread Poliman - Serwis
I can check each logs, I have root privileges. 2017-02-01 9:04 GMT+01:00 Aki Tuomi : > Can you check your logs? > > Aki > > > On 01.02.2017 10:02, Poliman - Serwis wrote: > > When I used backup copy of the dovecot.conf file I have this same error. > So > > I think that maybe something was written

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-01 Thread Poliman - Serwis
Logs from syslog or mail.err? And with these not working settings with auth_debug and auth_verbose? 2017-02-01 9:04 GMT+01:00 Aki Tuomi : > Can you check your logs? > > Aki > > > On 01.02.2017 10:02, Poliman - Serwis wrote: > > When I used backup copy of the dovecot.conf file I have this same err

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-01 Thread Aki Tuomi
Can you check your logs? Aki On 01.02.2017 10:02, Poliman - Serwis wrote: > When I used backup copy of the dovecot.conf file I have this same error. So > I think that maybe something was written to database? I really would point > out that I only added > passdb { > driver = passwd-file > arg

Re: Dovecot auth-worker error after cram-md5 auth

2017-02-01 Thread Poliman - Serwis
When I used backup copy of the dovecot.conf file I have this same error. So I think that maybe something was written to database? I really would point out that I only added passdb { driver = passwd-file args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd } and comment out from above block default

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Aki Tuomi
Are you still trying to authenticate using cram-md5? Aki On 01.02.2017 09:51, Poliman - Serwis wrote: > It still use: > passdb { > driver = passwd-file > args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd > } > > When I delete above and delete "cram-md5" in auth_mechanisms it still not > worki

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Poliman - Serwis
It still use: passdb { driver = passwd-file args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd } When I delete above and delete "cram-md5" in auth_mechanisms it still not working. 2017-02-01 8:45 GMT+01:00 Aki Tuomi : > You are probably wanting to do > passdb { > driver = passwd-file > arg

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Poliman - Serwis
It was only for testing purposes. That's why I want change it back to default settings. ;) I will check above lines and give response asap. 2017-02-01 8:45 GMT+01:00 Aki Tuomi : > You are probably wanting to do > passdb { > driver = passwd-file > args = scheme=cram-md5 /etc/dovecot/cram-md5.p

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Aki Tuomi
You are probably wanting to do passdb { driver = passwd-file args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd } passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf } Why you want to use cram-md5 is beyond me, because using SSL is much more safer. Aki On 01.02.2017 09:41, Poliman

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Poliman - Serwis
Default it was: "auth_mechanisms = plain login" and I added cram-md5. After restart all work perfectly. But after I added: driver = passwd-file args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd I can't set default lines because I got error. Please tell me which lines should be changed to reso

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Aki Tuomi
Because cram-md5 needs the user's password for calculating responses, it cannot work with hashed passwords (one-way encrypted). The only supported password schemes are PLAIN and CRAM-MD5. Aki On 01.02.2017 09:33, Poliman - Serwis wrote: > I always restart dovecot after change config. ;) Sure, I c

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Poliman - Serwis
I always restart dovecot after change config. ;) Sure, I commented out added two lines by me, restarted dovecot and here it is: # 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 3.13.0-100-generic x86_64 Ubuntu 14.04.5 LTS auth_mechanisms = plain login cram-md5 listen = *,[::] log_timestamp = "%Y-%m-

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Aki Tuomi
On 01.02.2017 08:18, Poliman - Serwis wrote: > This is debug log files in syslog: > Feb 1 07:10:25 vps342401 dovecot: auth: Debug: client passdb out: > CONT#0112#011PDAxODg3ODIzMTUwMzgxNzMuMTQ4NTkyOTQyNUB2cHMzNDI0MDEub3ZoLm5ldD4= > Feb 1 07:10:26 vps342401 dovecot: auth: Debug: client in: CONT

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-31 Thread Poliman - Serwis
This is debug log files in syslog: Feb 1 07:10:25 vps342401 dovecot: auth: Debug: client passdb out: CONT#0112#011PDAxODg3ODIzMTUwMzgxNzMuMTQ4NTkyOTQyNUB2cHMzNDI0MDEub3ZoLm5ldD4= Feb 1 07:10:26 vps342401 dovecot: auth: Debug: client in: CONT Feb 1 07:10:26 vps342401 dovecot: auth-worker(27069):

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-30 Thread Aki Tuomi
ot; >>> Копия: "dovecot" >>> Отправленные: Вторник, 31 Январь 2017 г 10:16:48 >>> Тема: Re: Dovecot auth-worker error after cram-md5 auth >>> Thank You for answer. Where could I setup these two lines? >> dovecot.conf? >> >> --

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-30 Thread Poliman - Serwis
Январь 2017 г 10:16:48 > > Тема: Re: Dovecot auth-worker error after cram-md5 auth > > > Thank You for answer. Where could I setup these two lines? > > dovecot.conf? > > -- > WBR, > BaseALT/ALTLinux Team > -- *Pozdrawiam / Best Regards* *Piotr Bracha* *tel. 534 555 877* *ser...@poliman.pl *

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-30 Thread Evgeniy Korneechev
- Исходное сообщение - > От: "Poliman - Serwis" > Кому: "Aki Tuomi" > Копия: "dovecot" > Отправленные: Вторник, 31 Январь 2017 г 10:16:48 > Тема: Re: Dovecot auth-worker error after cram-md5 auth > Thank You for answer. Where could

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-30 Thread Poliman - Serwis
Thank You for answer. Where could I setup these two lines? 2017-01-31 8:08 GMT+01:00 Aki Tuomi : > > > On 31.01.2017 09:06, Poliman - Serwis wrote: > > I set up cram-md5 using this tutorial > > https://wiki2.dovecot.org/HowTo/CRAM-MD5 in /etc/dovecot/dovecot.conf in > > passdb code block: > > lis

Re: Dovecot auth-worker error after cram-md5 auth

2017-01-30 Thread Aki Tuomi
On 31.01.2017 09:06, Poliman - Serwis wrote: > I set up cram-md5 using this tutorial > https://wiki2.dovecot.org/HowTo/CRAM-MD5 in /etc/dovecot/dovecot.conf in > passdb code block: > listen = *,[::] > protocols = imap pop3 > #auth_mechanisms = plain login cram-md5 > auth_mechanisms = cram-md5 pla