This determine to use both - default and custom settings in passdb block
but I would default setting without cram-md5 in this file. In other words I
would have only below in dovecot.conf:
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
This worked before I added cram-md5 lines. After this I can't use default
settings because then I can't send emails. Next thing that I only use one
from above You pasted (other two lines are commented out):
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
# driver = passwd-file
# args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
or this
passdb {
#args = /etc/dovecot/dovecot-sql.conf
#driver = sql
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
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]>*