some dovecot config
This commit is contained in:
parent
80b1e1904c
commit
ab4704408e
|
@ -9,7 +9,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Libre Developers Documentation 0\n"
|
"Project-Id-Version: Libre Developers Documentation 0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-09-01 10:53-0600\n"
|
"POT-Creation-Date: 2024-09-01 11:07-0600\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language: en\n"
|
"Language: en\n"
|
||||||
|
@ -30,176 +30,199 @@ msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:6
|
#: ../../../_source/mail-libre-is.rst:6
|
||||||
msgid ""
|
msgid ""
|
||||||
"Setting up Internet mail servers is a pain. It's nothing like just setting "
|
"Setting up Internet mail servers is a pain. It's nothing like just "
|
||||||
"up a web server... This install is based on this guide:"
|
"setting up a web server..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:10
|
#: ../../../_source/mail-libre-is.rst:11
|
||||||
msgid "`<https://workaround.org/ispmail-bookworm/>`_"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:14
|
|
||||||
msgid "Main Components"
|
msgid "Main Components"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:16 ../../../_source/mail-libre-is.rst:208
|
#: ../../../_source/mail-libre-is.rst:13
|
||||||
|
msgid "This install is based on this guide:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:15
|
||||||
|
msgid "`<https://workaround.org/ispmail-bookworm/>`_"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:17
|
||||||
|
msgid "For more information and details about what is what, refer to that site."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:20 ../../../_source/mail-libre-is.rst:212
|
||||||
msgid "Dovecot"
|
msgid "Dovecot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:18
|
#: ../../../_source/mail-libre-is.rst:22
|
||||||
msgid "`<https://dovecot.org/>`_"
|
msgid "`<https://dovecot.org/>`_"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:21 ../../../_source/mail-libre-is.rst:54
|
#: ../../../_source/mail-libre-is.rst:25 ../../../_source/mail-libre-is.rst:58
|
||||||
msgid "MariaDB"
|
msgid "MariaDB"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:24 ../../../_source/mail-libre-is.rst:234
|
#: ../../../_source/mail-libre-is.rst:28 ../../../_source/mail-libre-is.rst:257
|
||||||
msgid "OpenDKIM"
|
msgid "OpenDKIM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:26
|
#: ../../../_source/mail-libre-is.rst:30
|
||||||
msgid "`<http://www.opendkim.org/>`_"
|
msgid "`<http://www.opendkim.org/>`_"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:28 ../../../_source/mail-libre-is.rst:242
|
#: ../../../_source/mail-libre-is.rst:32 ../../../_source/mail-libre-is.rst:265
|
||||||
msgid "OpenDMARC"
|
msgid "OpenDMARC"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:30
|
#: ../../../_source/mail-libre-is.rst:34
|
||||||
msgid "`<http://www.trusteddomain.org/opendmarc/>`_"
|
msgid "`<http://www.trusteddomain.org/opendmarc/>`_"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:32
|
#: ../../../_source/mail-libre-is.rst:36
|
||||||
msgid "`<https://github.com/trusteddomainproject/OpenDMARC>`_"
|
msgid "`<https://github.com/trusteddomainproject/OpenDMARC>`_"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:34 ../../../_source/mail-libre-is.rst:106
|
#: ../../../_source/mail-libre-is.rst:38 ../../../_source/mail-libre-is.rst:110
|
||||||
msgid "Postfix"
|
msgid "Postfix"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:36
|
#: ../../../_source/mail-libre-is.rst:40
|
||||||
msgid "`<https://www.postfix.org/>`_"
|
msgid "`<https://www.postfix.org/>`_"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:40
|
#: ../../../_source/mail-libre-is.rst:44
|
||||||
msgid "Apache"
|
msgid "Apache"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:41
|
#: ../../../_source/mail-libre-is.rst:45
|
||||||
msgid ""
|
msgid ""
|
||||||
"The Apache webserver is used out of laziness as it allows easy certificate "
|
"The Apache webserver is used out of laziness as it allows easy "
|
||||||
"updates with certbot. A webmail server won't be running on the main mail "
|
"certificate updates with certbot. A webmail server won't be running on "
|
||||||
"server."
|
"the main mail server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:50
|
#: ../../../_source/mail-libre-is.rst:54
|
||||||
msgid "Open up firewall ports 80 and 443."
|
msgid "Open up firewall ports 80 and 443."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:55
|
#: ../../../_source/mail-libre-is.rst:59
|
||||||
msgid "The main database server."
|
msgid "The main database server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:63
|
#: ../../../_source/mail-libre-is.rst:67
|
||||||
msgid "Add databases. Change password to something secure."
|
msgid "Add databases. Change password to something secure."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:107
|
#: ../../../_source/mail-libre-is.rst:111
|
||||||
msgid "The main SMTP mail server."
|
msgid "The main SMTP mail server."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:114
|
#: ../../../_source/mail-libre-is.rst:118
|
||||||
msgid ""
|
msgid ""
|
||||||
"Set up postfix to use MariaDB. Edit /etc/postfix/mysql-virtual-mailbox-"
|
"Set up postfix to use MariaDB. Edit /etc/postfix/mysql-virtual-mailbox-"
|
||||||
"domains.cf and add below, using the mailserver password used in MariaDB."
|
"domains.cf and add below, using the mailserver password used in MariaDB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:127
|
#: ../../../_source/mail-libre-is.rst:131
|
||||||
msgid "Edit /etc/postfix/mysql-virtual-mailbox-maps.cf and add below contents:"
|
msgid "Edit /etc/postfix/mysql-virtual-mailbox-maps.cf and add below contents:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:137
|
#: ../../../_source/mail-libre-is.rst:141
|
||||||
msgid "Edit /etc/postfix/mysql-virtual-alias-maps.cf and add below:"
|
msgid "Edit /etc/postfix/mysql-virtual-alias-maps.cf and add below:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:147
|
#: ../../../_source/mail-libre-is.rst:151
|
||||||
msgid "Edit /etc/postfix/mysql-email2email.cf and add:"
|
msgid "Edit /etc/postfix/mysql-email2email.cf and add:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:157
|
#: ../../../_source/mail-libre-is.rst:161
|
||||||
msgid "Then run these commands:"
|
msgid "Then run these commands:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:174
|
#: ../../../_source/mail-libre-is.rst:178
|
||||||
msgid "Redis"
|
msgid "Redis"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:175
|
#: ../../../_source/mail-libre-is.rst:179
|
||||||
msgid ""
|
msgid ""
|
||||||
"Note, the licensing of Redis has gone bad. The version in Debian is OK. But "
|
"Note, the licensing of Redis has gone bad. The version in Debian is OK. "
|
||||||
"in the future, probably replace with a fork."
|
"But in the future, probably replace with a fork."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:184
|
#: ../../../_source/mail-libre-is.rst:188
|
||||||
msgid "rspamd"
|
msgid "rspamd"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:185
|
#: ../../../_source/mail-libre-is.rst:189
|
||||||
msgid "Spam control."
|
msgid "Spam control."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:193
|
#: ../../../_source/mail-libre-is.rst:197
|
||||||
msgid "Certbot"
|
msgid "Certbot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:194
|
#: ../../../_source/mail-libre-is.rst:198
|
||||||
msgid ""
|
msgid ""
|
||||||
"Encryption certificates with Let's Encrypt. Not using an Apache webserver on "
|
"Encryption certificates with Let's Encrypt. Not using an Apache webserver"
|
||||||
"the mail server makes getting new certificates a bit more complex."
|
" on the mail server makes getting new certificates a bit more complex."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:209
|
#: ../../../_source/mail-libre-is.rst:213
|
||||||
msgid "Just using encrypted IMAPS, not POP."
|
msgid "Just using encrypted IMAPS, not POP."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:216
|
#: ../../../_source/mail-libre-is.rst:220
|
||||||
msgid ""
|
msgid ""
|
||||||
"Note, since IPv6 isn't being used, the dovecot install barfs. Edit /etc/"
|
"Note, since IPv6 isn't being used, the dovecot install barfs. Edit "
|
||||||
"dovecot/dovecot.conf and add this line, where appropriate:"
|
"/etc/dovecot/dovecot.conf and add this line, where appropriate:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:223
|
#: ../../../_source/mail-libre-is.rst:227
|
||||||
msgid ""
|
msgid ""
|
||||||
"Note, this is removing the \"::\" from listen, which using IPv6. Then re-run "
|
"Note, this is removing the \"::\" from listen, which using IPv6. Then re-"
|
||||||
"the install so the packages are happy. Note, the re-install won't overwrite "
|
"run the install so the packages are happy. Note, the re-install won't "
|
||||||
"the \"listen\" change."
|
"overwrite the \"listen\" change."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:243
|
#: ../../../_source/mail-libre-is.rst:236
|
||||||
|
msgid "Add user and set up configs"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:266
|
||||||
msgid "Requires database setup."
|
msgid "Requires database setup."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:252
|
#: ../../../_source/mail-libre-is.rst:275
|
||||||
msgid "SPF"
|
msgid "SPF"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:253
|
#: ../../../_source/mail-libre-is.rst:276
|
||||||
msgid "Set up SPF."
|
msgid "Set up SPF."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:257
|
#: ../../../_source/mail-libre-is.rst:280
|
||||||
msgid "DNS"
|
msgid "DNS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:258
|
#: ../../../_source/mail-libre-is.rst:281
|
||||||
msgid "Set up DNS."
|
msgid "Set up DNS."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:262
|
#: ../../../_source/mail-libre-is.rst:285
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:263
|
#: ../../../_source/mail-libre-is.rst:286
|
||||||
msgid "Perhaps these too."
|
msgid "Perhaps these too."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "Setting up Internet mail servers is "
|
||||||
|
#~ "a pain. It's nothing like just "
|
||||||
|
#~ "setting up a web server... This "
|
||||||
|
#~ "install is based on this guide:"
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Add user."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,18 @@ Documentation for Libre mail server.
|
||||||
|
|
||||||
Setting up Internet mail servers is a pain.
|
Setting up Internet mail servers is a pain.
|
||||||
It's nothing like just setting up a web server...
|
It's nothing like just setting up a web server...
|
||||||
This install is based on this guide:
|
|
||||||
|
|
||||||
`<https://workaround.org/ispmail-bookworm/>`_
|
|
||||||
|
|
||||||
|
|
||||||
Main Components
|
Main Components
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
This install is based on this guide:
|
||||||
|
|
||||||
|
`<https://workaround.org/ispmail-bookworm/>`_
|
||||||
|
|
||||||
|
For more information and details about what is what,
|
||||||
|
refer to that site.
|
||||||
|
|
||||||
Dovecot
|
Dovecot
|
||||||
|
|
||||||
`<https://dovecot.org/>`_
|
`<https://dovecot.org/>`_
|
||||||
|
@ -229,6 +233,25 @@ won't overwrite the "listen" change.
|
||||||
sudo apt install --reinstall dovecot-mysql dovecot-pop3d dovecot-imapd \
|
sudo apt install --reinstall dovecot-mysql dovecot-pop3d dovecot-imapd \
|
||||||
dovecot-managesieved dovecot-lmtpd
|
dovecot-managesieved dovecot-lmtpd
|
||||||
|
|
||||||
|
Add user and set up configs
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
sudo groupadd -g 5000 vmail
|
||||||
|
sudo useradd -g vmail -u 5000 vmail -d /var/vmail -m
|
||||||
|
sudo chown -R vmail:vmail /var/vmail
|
||||||
|
|
||||||
|
sudo sed -i -e \
|
||||||
|
's/auth_mechanisms = plain/auth_mechanisms = plain login/g' \
|
||||||
|
/etc/dovecot/conf.d/10-auth.conf
|
||||||
|
|
||||||
|
sudo sed -i -e \
|
||||||
|
's/!include auth-system.conf.ext/#!include auth-system.conf.ext/g' \
|
||||||
|
/etc/dovecot/conf.d/10-auth.conf
|
||||||
|
|
||||||
|
sudo sed -i -e \
|
||||||
|
's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/g' \
|
||||||
|
/etc/dovecot/conf.d/10-auth.conf
|
||||||
|
|
||||||
OpenDKIM
|
OpenDKIM
|
||||||
========
|
========
|
||||||
|
|
Loading…
Reference in a new issue