Re: Cannot make disable_plaintext_auth = no works in configuration

2018-11-12 Thread Tanstaafl
On 11/11/2018, 4:02:25 AM, Steve Leung  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?


Cannot make disable_plaintext_auth = no works in configuration

2018-11-11 Thread Steve Leung
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 =  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