From 44bc53a89cd687743da972284b65ed303b21b2c1 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sun, 1 Sep 2024 11:35:25 -0600 Subject: [PATCH] more mail, dovecot --- .../locale/en/LC_MESSAGES/mail-libre-is.po | 72 +++++++++++-------- docs/_source/mail-libre-is.rst | 26 ++++++- 2 files changed, 69 insertions(+), 29 deletions(-) diff --git a/docs/_source/locale/en/LC_MESSAGES/mail-libre-is.po b/docs/_source/locale/en/LC_MESSAGES/mail-libre-is.po index 027cbac..43806d9 100644 --- a/docs/_source/locale/en/LC_MESSAGES/mail-libre-is.po +++ b/docs/_source/locale/en/LC_MESSAGES/mail-libre-is.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Libre Developers Documentation 0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-01 11:28-0600\n" +"POT-Creation-Date: 2024-09-01 11:35-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -30,8 +30,8 @@ msgstr "" #: ../../../_source/mail-libre-is.rst:6 msgid "" -"Setting up Internet mail servers is a pain. It's nothing like just setting " -"up a web server..." +"Setting up Internet mail servers is a pain. It's nothing like just " +"setting up a web server..." msgstr "" #: ../../../_source/mail-libre-is.rst:11 @@ -47,8 +47,7 @@ msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:17 -msgid "" -"For more information and details about what is what, refer to that site." +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:222 @@ -63,7 +62,7 @@ msgstr "" msgid "MariaDB" msgstr "" -#: ../../../_source/mail-libre-is.rst:28 ../../../_source/mail-libre-is.rst:327 +#: ../../../_source/mail-libre-is.rst:28 ../../../_source/mail-libre-is.rst:351 msgid "OpenDKIM" msgstr "" @@ -71,7 +70,7 @@ msgstr "" msgid "``_" msgstr "" -#: ../../../_source/mail-libre-is.rst:32 ../../../_source/mail-libre-is.rst:335 +#: ../../../_source/mail-libre-is.rst:32 ../../../_source/mail-libre-is.rst:359 msgid "OpenDMARC" msgstr "" @@ -97,7 +96,8 @@ msgstr "" #: ../../../_source/mail-libre-is.rst:45 msgid "" -"Install Debian stable (bookworm). Install rsyslog for old school convenience:" +"Install Debian stable (bookworm). Install rsyslog for old school " +"convenience:" msgstr "" #: ../../../_source/mail-libre-is.rst:54 @@ -106,9 +106,9 @@ msgstr "" #: ../../../_source/mail-libre-is.rst:55 msgid "" -"The Apache webserver is used out of laziness as it allows easy certificate " -"updates with certbot. A webmail server won't be running on the main mail " -"server." +"The Apache webserver is used out of laziness as it allows easy " +"certificate updates with certbot. A webmail server won't be running on " +"the main mail server." msgstr "" #: ../../../_source/mail-libre-is.rst:64 @@ -155,8 +155,8 @@ msgstr "" #: ../../../_source/mail-libre-is.rst:189 msgid "" -"Note, the licensing of Redis has gone bad. The version in Debian is OK. But " -"in the future, probably replace with a fork." +"Note, the licensing of Redis has gone bad. The version in Debian is OK. " +"But in the future, probably replace with a fork." msgstr "" #: ../../../_source/mail-libre-is.rst:198 @@ -173,8 +173,8 @@ msgstr "" #: ../../../_source/mail-libre-is.rst:208 msgid "" -"Encryption certificates with Let's Encrypt. Not using an Apache webserver on " -"the mail server makes getting new certificates a bit more complex." +"Encryption certificates with Let's Encrypt. Not using an Apache webserver" +" on the mail server makes getting new certificates a bit more complex." msgstr "" #: ../../../_source/mail-libre-is.rst:223 @@ -183,15 +183,15 @@ msgstr "" #: ../../../_source/mail-libre-is.rst:230 msgid "" -"Note, since IPv6 isn't being used, the dovecot install barfs. Edit /etc/" -"dovecot/dovecot.conf and add this line, where appropriate:" +"Note, since IPv6 isn't being used, the dovecot install barfs. Edit " +"/etc/dovecot/dovecot.conf and add this line, where appropriate:" msgstr "" #: ../../../_source/mail-libre-is.rst:237 msgid "" -"Note, this is removing the \"::\" from listen, which using IPv6. Then re-run " -"the install so the packages are happy. Note, the re-install won't overwrite " -"the \"listen\" change." +"Note, this is removing the \"::\" from listen, which using IPv6. Then re-" +"run the install so the packages are happy. Note, the re-install won't " +"overwrite the \"listen\" change." msgstr "" #: ../../../_source/mail-libre-is.rst:246 @@ -215,33 +215,49 @@ msgid "" msgstr "" #: ../../../_source/mail-libre-is.rst:317 -msgid "Set file permissions and restart server." +msgid "Set file permissions." msgstr "" -#: ../../../_source/mail-libre-is.rst:336 +#: ../../../_source/mail-libre-is.rst:324 +msgid "Edit /etc/dovecot/conf.d/10-master.conf and change to:" +msgstr "" + +#: ../../../_source/mail-libre-is.rst:337 +msgid "Restart dovecot server." +msgstr "" + +#: ../../../_source/mail-libre-is.rst:343 +msgid "Run this to tell postfix to deliver to dovecot:" +msgstr "" + +#: ../../../_source/mail-libre-is.rst:360 msgid "Requires database setup." msgstr "" -#: ../../../_source/mail-libre-is.rst:345 +#: ../../../_source/mail-libre-is.rst:369 msgid "SPF" msgstr "" -#: ../../../_source/mail-libre-is.rst:346 +#: ../../../_source/mail-libre-is.rst:370 msgid "Set up SPF." msgstr "" -#: ../../../_source/mail-libre-is.rst:350 +#: ../../../_source/mail-libre-is.rst:374 msgid "DNS" msgstr "" -#: ../../../_source/mail-libre-is.rst:351 +#: ../../../_source/mail-libre-is.rst:375 msgid "Set up DNS." msgstr "" -#: ../../../_source/mail-libre-is.rst:355 +#: ../../../_source/mail-libre-is.rst:379 msgid "Other" msgstr "" -#: ../../../_source/mail-libre-is.rst:356 +#: ../../../_source/mail-libre-is.rst:380 msgid "Perhaps these too." msgstr "" + +#~ msgid "Set file permissions and restart server." +#~ msgstr "" + diff --git a/docs/_source/mail-libre-is.rst b/docs/_source/mail-libre-is.rst index dbb2bc0..45df38e 100644 --- a/docs/_source/mail-libre-is.rst +++ b/docs/_source/mail-libre-is.rst @@ -314,14 +314,38 @@ the bottom, changing the password to the mailserver database password. iterate_query = SELECT email AS user FROM virtual_users -Set file permissions and restart server. +Set file permissions. .. code-block:: sh sudo chown root:root /etc/dovecot/dovecot-sql.conf.ext sudo chmod 600 /etc/dovecot/dovecot-sql.conf.ext + +Edit /etc/dovecot/conf.d/10-master.conf and change to: + +.. code-block:: cfg + + service lmtp { + unix_listener /var/spool/postfix/private/dovecot-lmtp { + group = postfix + mode = 0600 + user = postfix + } + } + + +Restart dovecot server. + +.. code-block:: sh + sudo systemctl restart dovecot +Run this to tell postfix to deliver to dovecot: + +.. code-block:: sh + + sudo postconf virtual_transport=lmtp:unix:private/dovecot-lmtp + OpenDKIM ========