I setup like You pasted and in mail.log I have: Feb 23 10:41:58 vps342401 dovecot: auth: Debug: client in: CONT<hidden> Feb 23 10:41:58 vps342401 dovecot: auth: Debug: passwd-file( [email protected],93.179.231.31,<Fl+mbC9JRABds+cf>): lookup: user= [email protected] file=/etc/dovecot/cram-m$ Feb 23 10:41:58 vps342401 dovecot: auth: Debug: client passdb out: OK#0111#[email protected] Feb 23 10:41:58 vps342401 dovecot: auth: Debug: master in: REQUEST#0113625975809#0115088#0111#0115fa408b8c444a03b751b990e57cbfada#011session_pid=5092 Feb 23 10:41:58 vps342401 dovecot: auth: Debug: prefetch( [email protected],93.179.231.31,<Fl+mbC9JRABds+cf>): passdb didn't return userdb entries, trying the next userdb Feb 23 10:41:58 vps342401 dovecot: auth-worker(5090): Debug: sql( [email protected],93.179.231.31): SELECT email as user, maildir as home, CONCAT( maildir_format, ':', mail$ Feb 23 10:41:58 vps342401 dovecot: auth: Debug: master userdb out: USER#0113625975809# [email protected]#011home=/var/vmail/example.com/do_not_reply#011mail=maildir:/var/vma$ Feb 23 10:41:58 vps342401 dovecot: pop3-login: Login: user=< [email protected]>, method=PLAIN, rip=93.179.231.31, lip=193.70.38.6, mpid=5092, TLS, session=<Fl+mbC9JRABds+cf> Feb 23 10:41:58 vps342401 dovecot: pop3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=1/2, size=179243
2017-02-23 10:36 GMT+01:00 [email protected] < [email protected]>: > I wonderd about how dovecot would deside, which "args" belongs to wich > "driver" line. So looked over > http://wiki.dovecot.org/Authentication/MultipleDatabases. > > Possibly you should write something like: > > passdb { > args = /etc/dovecot/dovecot-sql.conf > driver = sql > } > > passdb { > driver = passwd-file > args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd > } > > > Willi > > > Am 23.02.2017 um 10:30 schrieb Poliman - Serwis: > > You have right, I added 'noplaintext'. But main thing what I want to get > - > > no cram-md5 in dovecot and ability to send emails. All worked fine until > I > > set in dovecot.conf: > > auth_mechanisms = plain login cram-md5 > > passdb { > > #args = /etc/dovecot/dovecot-sql.conf > > #driver = sql > > driver = passwd-file > > args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd > > } > > -- *Pozdrawiam / Best Regards* *Piotr Bracha* *tel. 534 555 877* *[email protected] <[email protected]>*
