On 2018-06-12 13:14, Steffen Kaiser wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 12 Jun 2018, Walter Ulmke wrote: > >> un 12 12:30:06 ulmke2 dovecot[5814]: auth: Fatal: APOP mechanism can't >> be supported with given passdbs > > Config error. > > "Fatal" sounds fatal ;-) > >> stats: open(old-stats-user) failed: Permission denied > > Likewise config error, but not fatal. > > Post your config > > - -- Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 >Hi Steffen, the output from doveconf -n: auth_mechanisms = plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { driver = pam } plugin { sieve = file:~/sieve;active=~/.dovecot.sieve } ssl = no ssl_cipher_list = ALL:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW at STRENGTH ssl_options = no_compression ssl_prefer_server_ciphers = yes userdb { driver = passwd } -- -- Best Regards, Walter Ulmke
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 12 Jun 2018, Walter Ulmke wrote:> Date: Tue, 12 Jun 2018 14:23:30 +0200 > From: Walter Ulmke <ulw at ulmke.com> > To: dovecot at dovecot.org > Subject: Re: cant login to Dovecot > > On 2018-06-12 13:14, Steffen Kaiser wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On Tue, 12 Jun 2018, Walter Ulmke wrote: >> >>> un 12 12:30:06 ulmke2 dovecot[5814]: auth: Fatal: APOP mechanism can't be >>> supported with given passdbs >> >> Config error. >> >> "Fatal" sounds fatal ;-)see below. Update your mechs>> >>> stats: open(old-stats-user) failed: Permission deniedThere is no stats config.>> Likewise config error, but not fatal. >> >> Post your config >>> auth_mechanisms = plain login digest-md5 cram-md5 ntlm rpa apop anonymous > gssapihttps://wiki2.dovecot.org/Authentication/Mechanisms?highlight=(apop) APOP: This is a POP3-specific authentication. Similar to CRAM-MD5, but requires storing password in plaintext. But PAM does not offer access to plain/text, IMHO.> managesieve_notify_capability = mailto > managesieve_sieve_capability = fileinto reject envelope encoded-character > vacation subaddress comparator-i;ascii-numeric relational regex imap4flags > copy include variables body enotify environment mailbox date index ihave > duplicate mime foreverypart extracttext > namespace inbox { > inbox = yes > location > mailbox Drafts { > special_use = \Drafts > } > mailbox Junk { > special_use = \Junk > } > mailbox Sent { > special_use = \Sent > } > mailbox "Sent Messages" { > special_use = \Sent > } > mailbox Trash { > special_use = \Trash > } > prefix > } > passdb { > driver = pam > } > plugin { > sieve = file:~/sieve;active=~/.dovecot.sieve > } > ssl = no > ssl_cipher_list = > ALL:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW at STRENGTH > ssl_options = no_compression > ssl_prefer_server_ciphers = yes > userdb { > driver = passwd > } > > >- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBWx/IGsQnQQNheMxiAQLZaQgAwqOE59dZoXqcBkYYmdgiej4glYRhjaSl kwZeY6aFHjoErXK9B2VmrL9atmcMWoI3cocoCzpk5lib5CDuAXdQujCWluT/B/CK 5597D/OG77GhlWhG73Dptytkc03qjx3l4XipkcVrNKtuKVtKO1POFnldfIyUb0mr v73XsTo6trbQu9+S+oK9nZGrUUnirGivz+aVj6Xe2JNke69H8Et6LOJdmQdDxKqR gmGKXwtPMspX5yKOb/4oOLnc6yzif+RVSdC8wcMyGc3dQapVIRKtFOceal5B3eu9 PopaPlTmLTA27GmbxlNbQYP/YZnAxlZTTCvls28fegm1mVfpQeQ9qg==HFv8 -----END PGP SIGNATURE-----
On 2018-06-12 15:18, Steffen Kaiser wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 12 Jun 2018, Walter Ulmke wrote: > >> Date: Tue, 12 Jun 2018 14:23:30 +0200 >> From: Walter Ulmke <ulw at ulmke.com> >> To: dovecot at dovecot.org >> Subject: Re: cant login to Dovecot >> >> On 2018-06-12 13:14, Steffen Kaiser wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> On Tue, 12 Jun 2018, Walter Ulmke wrote: >>> >>>> un 12 12:30:06 ulmke2 dovecot[5814]: auth: Fatal: APOP mechanism >>>> can't be supported with given passdbs >>> >>> Config error. >>> >>> "Fatal" sounds fatal ;-) > > see below. Update your mechs > >>> >>>> stats: open(old-stats-user) failed: Permission denied > > There is no stats config. > >>> Likewise config error, but not fatal. >>> >>> Post your config >>> > >> auth_mechanisms = plain login digest-md5 cram-md5 ntlm rpa apop >> anonymous gssapi > > https://wiki2.dovecot.org/Authentication/Mechanisms?highlight=(apop) > > APOP: This is a POP3-specific authentication. Similar to CRAM-MD5, but > requires storing password in plaintext. > > But PAM does not offer access to plain/text, IMHO. > >> managesieve_notify_capability = mailto >> managesieve_sieve_capability = fileinto reject envelope >> encoded-character vacation subaddress comparator-i;ascii-numeric >> relational regex imap4flags copy include variables body enotify >> environment mailbox date index ihave duplicate mime foreverypart >> extracttext >> namespace inbox { >> inbox = yes >> location >> mailbox Drafts { >> special_use = \Drafts >> } >> mailbox Junk { >> special_use = \Junk >> } >> mailbox Sent { >> special_use = \Sent >> } >> mailbox "Sent Messages" { >> special_use = \Sent >> } >> mailbox Trash { >> special_use = \Trash >> } >> prefix >> } >> passdb { >> driver = pam >> } >> plugin { >> sieve = file:~/sieve;active=~/.dovecot.sieve >> } >> ssl = no >> ssl_cipher_list = >> ALL:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW at STRENGTH >> ssl_options = no_compression >> ssl_prefer_server_ciphers = yes >> userdb { >> driver = passwd >> } >> >> >> > > - -- Steffen Kaiser > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQEVAwUBWx/IGsQnQQNheMxiAQLZaQgAwqOE59dZoXqcBkYYmdgiej4glYRhjaSl > kwZeY6aFHjoErXK9B2VmrL9atmcMWoI3cocoCzpk5lib5CDuAXdQujCWluT/B/CK > 5597D/OG77GhlWhG73Dptytkc03qjx3l4XipkcVrNKtuKVtKO1POFnldfIyUb0mr > v73XsTo6trbQu9+S+oK9nZGrUUnirGivz+aVj6Xe2JNke69H8Et6LOJdmQdDxKqR > gmGKXwtPMspX5yKOb/4oOLnc6yzif+RVSdC8wcMyGc3dQapVIRKtFOceal5B3eu9 > PopaPlTmLTA27GmbxlNbQYP/YZnAxlZTTCvls28fegm1mVfpQeQ9qg=> =HFv8 > -----END PGP SIGNATURE-----PAM war mir immer schon suspekt. Ich habe den Bereich auskommentiert und erhalte nun: auth: Error: stats: open(old-stats-user) failed: Permission denied Jun 12 17:04:44 ulmke2 dovecot[6883]: auth: Fatal: No passdbs specified in configuration file. APOP mechanism need> Jun 12 17:04:44 ulmke2 dovecot[6880]: master: Error: service(auth): command startup failed, throttling for 2 secs Jun 12 17:04:44 ulmke2 dovecot[6883]: imap-login: Disconnected: Auth process broken (disconnected before auth was > -- -- Best Regards, Walter Ulmke
On Tue, 12 Jun 2018, Walter Ulmke wrote:> ... and just want to login using the standard Linux loginDepends on what you which "standard" you mean but I'll just assume you're using PAM, as suggested by your config.> auth_mechanisms = plain login digest-md5 cram-md5 ntlm rpa apop anonymousLooks like you did a kitchen sink configuration in hopes something will work, but it's probably interfering. Just "plain" and "login" is fine.> passdb { > driver = pam > }I don't use PAM, but it looks like you may be a few parameters short. Did you install pam/dovecot config? https://wiki2.dovecot.org/PasswordDatabase/PAM Joseph Tam <jtam.home at gmail.com>
On 2018-06-13 00:09, Joseph Tam wrote:> On Tue, 12 Jun 2018, Walter Ulmke wrote: > >> ... and just want to login using the standard Linux login > > Depends on what you which "standard" you mean but I'll just assume > you're using PAM, as suggested by your config. > >> auth_mechanisms = plain login digest-md5 cram-md5 ntlm rpa apop >> anonymous > > Looks like you did a kitchen sink configuration in hopes something will > work, > but it's probably interfering. Just "plain" and "login" is fine. > >> passdb { >> driver = pam >> } > > I don't use PAM, but it looks like you may be a few parameters > short. Did you install pam/dovecot config? > > https://wiki2.dovecot.org/PasswordDatabase/PAM > > Joseph Tam <jtam.home at gmail.com>this is driving me mad. I still can't login. I started with a fresh doveconfig directory and implemented the suf?gestions in the above Document. Now doveconfig -n gives me: managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext namespace inbox { inbox = yes location prefix } passdb { driver = pam } plugin { sieve = file:~/sieve;active=~/.dovecot.sieve } ssl_cipher_list = ALL:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW at STRENGTH ssl_options = no_compression ssl_prefer_server_ciphers = yes userdb { driver = passwd } dovecot status says: Jun 13 15:27:32 ulmke2 systemd[1]: Started Dovecot IMAP/POP3 email server. Jun 13 15:27:32 ulmke2 systemd[1]: dovecot.service: Main process exited, code=exited,> Jun 13 15:27:32 ulmke2 dovecot[14622]: Error: service(imap-login): listen(*, 993) fai> Jun 13 15:27:32 ulmke2 dovecot[14622]: Fatal: Failed to start listeners Jun 13 15:27:32 ulmke2 systemd[1]: dovecot.service: Unit entered failed state. Jun 13 15:27:32 ulmke2 systemd[1]: dovecot.service: Failed with result 'exit-code'. At least before it started .... -- Best Regards, Walter Ulmke Ulmke Machine Tools, 48496 Hopsten, Germany Tel. ++49/5458/93345-0 Fax. ++49/5458/93345-45 Mobile: ++49/172/5357999 eMail: ulw at ulmke.com Dipl.-Ing. Walter Ulmke e.K. AG Steinfurt HRA 4384