Good morning everyone,
This is my first time deploying Dovecot and I am intentionally configuring it to not run SSL for a short time until I can install SSL certificates through a SSL online merchant.
My first bit for /etc/rc.conf is as follows:
My dovecot directory looks like the following:
/usr/local/etc/dovecot # ls
README dovecot-sql.conf dovecot.conf
conf.d dovecot-sql.conf.ext
My dovecot.conf looks like the following:
My dovecot-sql.conf looks like the following:
My dovecot-sql.conf.ext is default with no changes.
My /conf.d/10-ssl.conf has the following lines hashed out to disable SSL checks until I get the mail working and configure my SSL certificate from my online merchant.
Dovecot daemon status is showing the following:
Any pointers would be helpful! Thank you!
~ TruthSword
This is my first time deploying Dovecot and I am intentionally configuring it to not run SSL for a short time until I can install SSL certificates through a SSL online merchant.
My first bit for /etc/rc.conf is as follows:
Code:
# Disable SendMail
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
# Enable Postfix Mail Server [MTA-Mail-Transfer-Agent]
postfix_enable="NO"
# Enable Dovecot Mail Server [IMAP/POP3]
dovecot_enable="YES"
My dovecot directory looks like the following:
/usr/local/etc/dovecot # ls
README dovecot-sql.conf dovecot.conf
conf.d dovecot-sql.conf.ext
My dovecot.conf looks like the following:
Code:
protocols = imap pop3
disable_plaintext_auth = yes
service imap-login {
inet_listener imap {
address = 185.x.x.x
port = 143
}
inet_listener imaps {
address = 185.x.x.x
port = 993
ssl = no
}
}
service pop3-login {
inet_listener pop3 {
address = 185.x.x.x
port = 110
}
inet_listener pop3s {
address = 185.x.x.x
port = 995
ssl = no
}
}
#ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
#ssl_key = </etc/pki/dovecot/private/dovecot.pem
base_dir = /var/run/dovecot/
instance_name = dovecot
login_greeting = Dovecot ready.
verbose_proctitle = no
shutdown_clients = yes
doveadm_worker_count = 0
doveadm_socket_path = doveadm-server
import_environment = TZ
dict {
#quota = mysql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext
#expire = sqlite:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext
}
!include conf.d/*.conf
!include_try local.conf
passdb sql {
args = /usr/local/etc/dovecot/dovecot-sql.conf
driver = sql
}
userdb sql {
args = /usr/local/etc/dovecot/dovecot-sql.conf
driver = sql
}
My dovecot-sql.conf looks like the following:
Code:
driver = mysql
connect = host=127.0.0.1 dbname=databasename user=databaseuname password=actualpassword123
default_pass_scheme = MD5
user_query = \
password_query = \
}
My dovecot-sql.conf.ext is default with no changes.
My /conf.d/10-ssl.conf has the following lines hashed out to disable SSL checks until I get the mail working and configure my SSL certificate from my online merchant.
Code:
#ssl_cert = </etc/ssl/certs/dovecot.pem
#ssl_key = </etc/ssl/private/dovecot.pem
Dovecot daemon status is showing the following:
Code:
root@server: /usr/local/etc/dovecot
# service dovecot status
dovecot is running as pid 73604.
Any pointers would be helpful! Thank you!
~ TruthSword