[Dovecot] Dovecot SASL

Tseveendorj Ochirlantuu tseveendorj at gmail.com
Thu Jun 17 15:32:44 EEST 2010


On Tue, Jun 15, 2010 at 9:48 PM, Pascal Volk <
user+dovecot at localhost.localdomain.org<user%2Bdovecot at localhost.localdomain.org>
> wrote:

> On 06/15/2010 03:40 PM Tseveendorj Ochirlantuu wrote:
> > Dear Pascal
> >
> > Sorry for forgetting required thing. Please see the dovecot -n follow
> >
> > # 1.2.9: /etc/dovecot/dovecot.conf
> > # OS: Linux 2.6.32-22-server x86_64 Ubuntu 10.04 LTS
> > log_timestamp: %Y-%m-%d %H:%M:%S
> > protocols: imap pop3 imaps pop3s managesieve
> > ssl_cert_file: /etc/ssl/certs/ssl-mail.pem
> > ssl_key_file: /etc/ssl/private/ssl-mail.key
> > ssl_cipher_list:
> > ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
> > login_dir: /var/run/dovecot/login
> > login_executable(default): /usr/lib/dovecot/imap-login
> > login_executable(imap): /usr/lib/dovecot/imap-login
> > login_executable(pop3): /usr/lib/dovecot/pop3-login
> > login_executable(managesieve): /usr/lib/dovecot/managesieve-login
> > mail_privileged_group: mail
> > mail_location: maildir:~/Maildir
> > mbox_write_locks: fcntl dotlock
> > mail_executable(default): /usr/lib/dovecot/imap
> > mail_executable(imap): /usr/lib/dovecot/imap
> > mail_executable(pop3): /usr/lib/dovecot/pop3
> > mail_executable(managesieve): /usr/lib/dovecot/managesieve
> > mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
> > mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
> > mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
> > mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
> > imap_client_workarounds(default): outlook-idle delay-newmail
> > imap_client_workarounds(imap): outlook-idle delay-newmail
> > imap_client_workarounds(pop3):
> > imap_client_workarounds(managesieve):
> > pop3_client_workarounds(default):
> > pop3_client_workarounds(imap):
> > pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> > pop3_client_workarounds(managesieve):
> > lda:
> >   postmaster_address: postmaster
> >   mail_plugins: cmusieve
>                   ^^^^^^^^
>
> Please read:
>        file:///usr/share/doc/dovecot-common/README.Debian
>        http://wiki.dovecot.org/Upgrading/1.2
>
> >   quota_full_tempfail: yes
> >   deliver_log_format: msgid=%m: %$
> >   rejection_reason: Your message to <%t> was automatically rejected:%n%r
> > auth default:
> >   mechanisms: plain login
> >   passdb:
> >     driver: pam
> >   userdb:
> >     driver: passwd
> >   socket:
> >     type: listen
> >     client:
> >       path: /var/spool/postfix/private/dovecot-auth
> >       mode: 432
> >       user: postfix
> >       group: postfix
> > plugin:
> >   sieve: ~/.dovecot.sieve
> >   sieve_dir: ~/sieve
> >
> > Best regards,
> > Tseveen
> >
> > On Tue, Jun 15, 2010 at 10:31 PM, Pascal Volk <
> > user+dovecot at localhost.localdomain.org<user%2Bdovecot at localhost.localdomain.org>
> <user%2Bdovecot at localhost.localdomain.org<user%252Bdovecot at localhost.localdomain.org>
> >
> >> wrote:
> >>>
> >>> I did not see AUTH in the telnet connection.
> >>>
> >>> EHLO mail.domain.mn
> >>> 250-ns1.domain.mn
> >>> 250-PIPELINING
> >>> 250-SIZE 10240000
> >>> 250-VRFY
> >>> 250-ETRN
> >>> 250-STARTTLS
> >> ^^^^^^^^^^^^^^^
> >>> 250-ENHANCEDSTATUSCODES
> >>> 250-8BITMIME
> >>> 250 DSN
> >>>
> >>> How to solvet this ?
> >>
> >>
> >> Either start your SSL-session or allow plaintext auth in your Dovecot
> >> configuration.
>
> Please stop top-posting.
>
> Your `dovecot -n` output doesn't include the disable_plaintext_auth
> setting. So disable_plaintext_auth is configured to its default: yes
>
> When disable_plaintext_auth=yes, you can't authenticate plain or login,
> until you've secured the connection with the STARTTLS command.
>
>
> Regards,
> Pascal
> --
> The trapper recommends today: fabaceae.1016615 at localdomain.org
>

disable_plaintext_auth is already set yes in
/etc/dovecot/conf.d/01-dovecot-postfix.conf. why it didn't appear.

Today I just upgraded dovecot please see the dovecot -n below.

# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-22-server x86_64 Ubuntu 10.04 LTS
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s managesieve
ssl_cert_file: /etc/ssl/certs/ssl-mail.pem
ssl_key_file: /etc/ssl/private/ssl-mail.key
ssl_cipher_list:
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: mail
mail_location: maildir:~/Maildir
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
lda:
  postmaster_address: postmaster
  mail_plugins: sieve
  quota_full_tempfail: yes
  deliver_log_format: msgid=%m: %$
  rejection_reason: Your message to <%t> was automatically rejected:%n%r
auth default:
  mechanisms: plain login
  passdb:
    driver: pam
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/dovecot-auth
      mode: 432
      user: postfix
      group: postfix
plugin:
  sieve: ~/.dovecot.sieve
  sieve_dir: ~/sieve


More information about the dovecot mailing list