Jeffrey Walton
2014-Mar-31 21:37 UTC
[Dovecot] Dovecot not honoring configuration settings (auth failure)
My dovecot.conf has the following: # No results when searching the wiki disable_plaintext_auth = no # http://wiki2.dovecot.org/Authentication/Mechanisms auth_mechanisms = plain login digest-md5 cram-md5 When I attempt to run imapsync, I receive an error: Host2: <host> says it has NO CAPABILITY for AUTHENTICATE LOGIN imapsync also dumps the helo string, and it is missing: Host2: * OK [CAPABILITY IMAP4rev1 LITERAL+ ... STARTTLS AUTH=PLAIN] Dovecot ready. I've restarted the dovecot service with 'service dovecot restart' and even rebooted the machine. There is nothing reported in any on the log files (/var/mail/dovecot.log and /var/log/mail.<level>). Any ideas why dovecot is not honoring the setting in its config file? ********** # dovecot --version 2.1.7 # doveconf -n # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-686-pae i686 Debian 7.4 disable_plaintext_auth = no log_path = /var/log/dovecot.log mail_location = mbox:~/mail:INBOX=/var/mail/%u namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } ... prefix } passdb { args = /var/mail/%d/users driver = passwd-file } passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = " imap pop3" ssl_cert = </etc/dovecot/dovecot.pem ssl_key = </etc/dovecot/private/dovecot.pem userdb { driver = passwd }
Reindl Harald
2014-Mar-31 21:39 UTC
[Dovecot] Dovecot not honoring configuration settings (auth failure)
Am 31.03.2014 23:37, schrieb Jeffrey Walton:> My dovecot.conf has the following: > > # No results when searching the wiki > disable_plaintext_auth = no > > # http://wiki2.dovecot.org/Authentication/Mechanisms > auth_mechanisms = plain login digest-md5 cram-md5 > > When I attempt to run imapsync, I receive an error: > > Host2: <host> says it has NO CAPABILITY for AUTHENTICATE LOGIN > > imapsync also dumps the helo string, and it is missing: > > Host2: * OK [CAPABILITY IMAP4rev1 LITERAL+ ... STARTTLS > AUTH=PLAIN] Dovecot ready. > > I've restarted the dovecot service with 'service dovecot restart' and > even rebooted the machine. > > There is nothing reported in any on the log files > (/var/mail/dovecot.log and /var/log/mail.<level>). > > Any ideas why dovecot is not honoring the setting in its config file?and the settings are *really* in /etc/dovecot/dovecot.conf or in some ".d"-folder which may or may not be included?> ********** > > # dovecot --version > 2.1.7 > # doveconf -n > # 2.1.7: /etc/dovecot/dovecot.conf > # OS: Linux 3.2.0-4-686-pae i686 Debian 7.4 > disable_plaintext_auth = no > log_path = /var/log/dovecot.log > mail_location = mbox:~/mail:INBOX=/var/mail/%u > namespace inbox { > inbox = yes > location > mailbox Drafts { > special_use = \Drafts > } > ... > prefix > } > passdb { > args = /var/mail/%d/users > driver = passwd-file > } > passdb { > driver = pam > } > plugin { > sieve = ~/.dovecot.sieve > sieve_dir = ~/sieve > } > protocols = " imap pop3" > ssl_cert = </etc/dovecot/dovecot.pem > ssl_key = </etc/dovecot/private/dovecot.pem > userdb { > driver = passwd > } >-- Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofm?hlgasse 17 CTO / CISO / Software-Development m: +43 (676) 40 221 40, p: +43 (1) 595 3999 33 icq: 154546673, http://www.thelounge.net/ http://www.thelounge.net/signature.asc.what.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 246 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20140331/424b4ec2/attachment.sig>
Charles Marcus
2014-Apr-01 10:33 UTC
[Dovecot] Dovecot not honoring configuration settings (auth failure)
On 3/31/2014 5:37 PM, Jeffrey Walton <noloader at gmail.com> wrote:> My dovecot.conf has the following:You still have yet to prove this (doveconf -n output).> # No results when searching the wiki > disable_plaintext_auth = noThen you are searching the wiki wrong. After entering the parameter in the searchbox (obviously you should not add the '=no' part), did you click 'Titles'? Or 'Text'? Or did you just hit [enter]? You have to click the 'Text' button (to the right of the searchbox) to search the article CONTENT. Just hitting [Enter] results in a simple 'Titles' search, which only searches the wiki article Titles. Personally I don't like this. I think the default should be to search content.> #http://wiki2.dovecot.org/Authentication/Mechanisms > auth_mechanisms = plain login digest-md5 cram-md5 > > When I attempt to run imapsync, I receive an error: > > Host2: <host> says it has NO CAPABILITY for AUTHENTICATE LOGIN > > imapsync also dumps the helo string, and it is missing: > > Host2: * OK [CAPABILITY IMAP4rev1 LITERAL+ ... STARTTLS > AUTH=PLAIN] Dovecot ready. > > I've restarted the dovecot service with 'service dovecot restart' and > even rebooted the machine. > > There is nothing reported in any on the log files > (/var/mail/dovecot.log and /var/log/mail.<level>).Then you are looking at the wrong log files.> Any ideas why dovecot is not honoring the setting in its config file?Best guess is you are not using the config file you think you are using. What distro is this? -- Best regards, Charles