Steve Leung
2018-Nov-11 09:02 UTC
Cannot make disable_plaintext_auth = no works in configuration
Hi,
No matter how I try, I cannot make the config disable_plaintext_auth = no to
work. I have set it up in 10-auth.conf but when I check with doveconf -a it is
still disable_plaintext_auth = yes. Here is my config:
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-36-generic x86_64 Ubuntu 18.04.1 LTS
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
mail_privileged_group = mail
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 {
? args = username_format=%u /etc/dovecot/passwd
? driver = passwd-file
}
plugin {
? sieve = ~/.dovecot.sieve
? sieve_dir = ~/sieve
}
protocols = " imap sieve pop3"
service auth {
? unix_listener /var/spool/postfix/private/dovecot-auth {
??? group = postfix
??? mode = 0660
??? user = postfix
? }
}
ssl = no
ssl_cert = </etc/dovecot/private/dovecot.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key =? # hidden, use -P to show it
userdb {
? args = username_format=%u /etc/dovecot/users
? driver = passwd-file
}
protocol lda {
? deliver_log_format = msgid=%m: %$
? mail_plugins = sieve
? postmaster_address = postmaster
? quota_full_tempfail = yes
? rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
protocol imap {
? imap_client_workarounds = delay-newmail
? mail_max_userip_connections = 10
}
protocol pop3 {
? mail_max_userip_connections = 10
? pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
Please help!
Thanks so much
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dovecot.org/pipermail/dovecot/attachments/20181111/ec37b343/attachment.html>
Tanstaafl
2018-Nov-12 14:50 UTC
Cannot make disable_plaintext_auth = no works in configuration
On 11/11/2018, 4:02:25 AM, Steve Leung <steveleung597 at yahoo.com> wrote:> Hi, > > No matter how I try, I cannot make the config disable_plaintext_auth > no to work. I have set it up in 10-auth.conf but when I check with > doveconf -a it is still disable_plaintext_auth = yes.As expected. doveconf -a shows all DEFAULT settings doveconf -n shows your custom/current settings being used by the running dovecot system. What does doveconf -n show?
Tanstaafl
2018-Nov-12 15:29 UTC
Cannot make disable_plaintext_auth = no works in configuration
Please keep list communications on list. If your doveconf -n doesn't reflect the changes you are making, then you are editing the wrong file. On Mon Nov 12 2018 10:22:45 GMT-0500 (Eastern Standard Time), Steve Leung <steveleung597 at yahoo.com> wrote:> The doveconf -n did not show this setting, which I suppose it is keeping > the default value. > > Thanks > > Sent from Yahoo Mail on Android > <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> > > On Mon, Nov 12, 2018 at 6:51 AM, Tanstaafl > <tanstaafl at libertytrek.org> wrote: > On 11/11/2018, 4:02:25 AM, Steve Leung <steveleung597 at yahoo.com > <mailto:steveleung597 at yahoo.com>> wrote: > > > Hi, > > > > No matter how I try, I cannot make the config disable_plaintext_auth > > no to work. I have set it up in 10-auth.conf but when I check with > > doveconf -a it is still disable_plaintext_auth = yes. > > > As expected. > > doveconf -a shows all DEFAULT settings > > doveconf -n shows your custom/current settings being used by the running > dovecot system. > > What does doveconf -n show? >