Hi
I have this in my /usr/local/etc/dovecot.conf:
I used makecrt.sh provided by the dovecot port install to make the ssl_key and ssl-cert, and then I put them in the place mentioned in dovecot.conf. Then I configured the mutttc on my client box, to include the following:
I don't have a proper domain name yet. But understand that I will need to run mkcert.sh again after I've got one. My question is: is this configuration correct, for imaps with mutt and dovecot (encryption for authentication and session)?
Thanks very much for any comments or advice.
I have this in my /usr/local/etc/dovecot.conf:
Code:
base_dir = /var/run/dovecot/
protocols = imap imaps pop3 pop3s
listen = *
disable_plaintext_auth = no
shutdown_clients = yes
ssl = yes
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_extra_groups = mail
mail_uid = normal_user
mail_gid = normal_user
verbose_proctitle = yes
## This is the same uid and gid as postfix
first_valid_uid = 125
first_valid_gid = 125
Code:
set folder="imaps://dovecot_host.localdomain:993"
set imap_pass="plain_text_password"
set mbox_type="Mbox"
set postponed="~/Mail/drafts"
set record="~/Mail/sent"
source ~/.mutt/mailboxes
set spoolfile="+INBOX"
set record="$HOME/Mail/sent"
set mbox="$HOME/Mail/mbox"
set postponed="$HOME/Mail/postponed"
set smtp_url="smtp://.localdomain"
set from="me@my-MacBook.local"
Thanks very much for any comments or advice.