doveadm pw

Doug Hardie bc979 at lafn.org
Sat Aug 7 09:06:58 EEST 2021


mail# doveadm pw
Enter new password: 
Retype new password: 
{CRYPT}$2y$05$oSB6end9V.YumJMzON7lfeOL9N8TXK6jhYqjHOEnPd1NLZ9.QNaTy

I thought the default was supposed to be CRAM-MD5.  I don't find anywhere I have entered CRYPT.  There is one reference to it in auth-passwdfile.conf.ext, but changing that has no effect.  Is this a bug, change, or my mistake?  Thanks,


mail# doveconf -n
# 2.3.15 (0503334ab1): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.15 (e6a84e31)
# OS: FreeBSD 13.0-RELEASE-p1 amd64  ufs
# Hostname: mail
auth_mechanisms = plain cram-md5
auth_stats = yes
base_dir = /var/run/home_mail/
first_valid_gid = 0
lda_mailbox_autocreate = yes
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k session=<%{session}> port=%a
mail_gid = 2222
mail_home = /var/mail/home_mail/%n
mail_location = maildir:/var/mail/home_mail/%n/Maildir
mail_log_prefix = "%s(%u)[%r]<%{session}>: "
mail_uid = 2222
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 {
    autoexpunge = 5 days
    special_use = \Drafts
  }
  mailbox Junk {
    autoexpunge = 2 days
    special_use = \Junk
  }
  mailbox Sent {
    autoexpunge = 1 weeks
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    autoexpunge = 2 days
    special_use = \Sent
  }
  mailbox Trash {
    autoexpunge = 2 days
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = scheme=CRYPT username_format=%n /usr/local/etc/dovecot/users
  driver = passwd-file
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size from
  sieve = file:/var/mail/home_mail/%n/sieve;active=/var/mail/home_mail/%n/.dovecot.sieve
  stats_refresh = 30 secs
  stats_track_cmds = yes
}
postmaster_address = doug at sermon-archive.info
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0666
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
  inet_listener imaps2 {
    port = 998
    ssl = yes
  }
}
service stats {
  unix_listener stats-reader {
    group = vmail
    mode = 0660
    user = vmail
  }
  unix_listener stats-writer {
    group = vmail
    mode = 0660
    user = vmail
  }
}
ssl_cert = </etc/ssl/certs/mail.pem
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
syslog_facility = local0
userdb {
  args = home=/var/mail/home_mail/%d/%n allow_all_users=yes
  driver = static
}
verbose_proctitle = yes
protocol lda {
  mail_plugins = " sieve"
}
protocol imap {
  mail_plugins = " mail_log notify"
}
protocol pop3 {
  mail_plugins = " mail_log notify"
}

-- Doug



More information about the dovecot mailing list