I am not sure that all in these logs are good because there is info 'passdb didn't return userdb entries'. Authentication worked because dovecot used cram-md5 file (still custom settings in dovecot.conf about which I say all time) but dovecot can't find match in database (configured in line: args = /etc/dovecot/dovecot-sql.conf driver = sql). How can I provide postfix logs - where can I find them? I have only mail.log and mail.err files for mailing errors. :)
2017-02-23 11:11 GMT+01:00 wilfried.es...@essignetz.de < wilfried.es...@essignetz.de>: > Hi, > > > now i'm rather unsure what you want to say with this? > > It looks something like authentification worked. But without the postfix > loglines i cant see it for sure. > > > > Willi > > > Am 23.02.2017 um 10:47 schrieb Poliman - Serwis: > > 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( > > do_not_re...@example.com,93.179.231.31,<Fl+mbC9JRABds+cf>): lookup: > user= > > do_not_re...@example.com file=/etc/dovecot/cram-m$ > > Feb 23 10:41:58 vps342401 dovecot: auth: Debug: client passdb out: > > OK#0111#011user=do_not_re...@example.com > > Feb 23 10:41:58 vps342401 dovecot: auth: Debug: master in: > > REQUEST#0113625975809#0115088#0111#0115fa408b8c444a03b751b990e57c > bfada#011session_pid=5092 > > Feb 23 10:41:58 vps342401 dovecot: auth: Debug: prefetch( > > do_not_re...@example.com,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( > > do_not_re...@example.com,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# > > 011do_not_re...@example.com#011home=/var/vmail/example. > com/do_not_reply#011mail=maildir:/var/vma$ > > Feb 23 10:41:58 vps342401 dovecot: pop3-login: Login: user=< > > do_not_re...@example.com>, 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(do_not_re...@serwispepsi.pl): > > Disconnected: Logged out top=0/0, retr=0/0, del=1/2, size=179243 > > > > > > 2017-02-23 10:36 GMT+01:00 wilfried.es...@essignetz.de < > > wilfried.es...@essignetz.de>: > > > >> 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* *ser...@poliman.pl <ser...@poliman.pl>*