From 65a43f2d58036b63549fb2062ec5e19f5080031d Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Wed, 4 Sep 2024 10:59:38 -0600 Subject: [PATCH] code mail set up --- docs/_source/code-libre-is.rst | 23 ++++ .../locale/en/LC_MESSAGES/code-libre-is.po | 104 +++++++++++------- 2 files changed, 85 insertions(+), 42 deletions(-) diff --git a/docs/_source/code-libre-is.rst b/docs/_source/code-libre-is.rst index 6ad234c..4a95b5e 100644 --- a/docs/_source/code-libre-is.rst +++ b/docs/_source/code-libre-is.rst @@ -344,3 +344,26 @@ Add sections: AUTHOR = Libre Developers DESCRIPTION = Free Software + +Email +===== + +Set up email thusly. + + ``_ + +Add a forgejo@libre.is used to the mail server. + +Edit /etc/forgejo/app.ini + +.. code-block:: ini + + [mailer] + ENABLED = true + FROM = forgejo@libre.is + PROTOCOL = smtps + SMTP_ADDR = mail.libre.is + SMTP_PORT = 587 + USER = forgejo@libre.is + PASSWD = mysecurepassword + diff --git a/docs/_source/locale/en/LC_MESSAGES/code-libre-is.po b/docs/_source/locale/en/LC_MESSAGES/code-libre-is.po index ac00488..6a1f1b5 100644 --- a/docs/_source/locale/en/LC_MESSAGES/code-libre-is.po +++ b/docs/_source/locale/en/LC_MESSAGES/code-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-08-31 12:17-0600\n" +"POT-Creation-Date: 2024-09-04 10:57-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -29,7 +29,7 @@ msgid "This is documentation for the system administrators of" msgstr "" #: ../../../_source/code-libre-is.rst:6 ../../../_source/code-libre-is.rst:25 -#: ../../../_source/code-libre-is.rst:265 +#: ../../../_source/code-libre-is.rst:268 msgid "``_" msgstr "" @@ -130,159 +130,159 @@ msgstr "" msgid "Test the new database setup thusly:" msgstr "" -#: ../../../_source/code-libre-is.rst:150 +#: ../../../_source/code-libre-is.rst:149 msgid "Forgejo" msgstr "" -#: ../../../_source/code-libre-is.rst:152 +#: ../../../_source/code-libre-is.rst:151 msgid "Forgejo main site:" msgstr "" -#: ../../../_source/code-libre-is.rst:154 +#: ../../../_source/code-libre-is.rst:153 msgid "``_" msgstr "" -#: ../../../_source/code-libre-is.rst:156 +#: ../../../_source/code-libre-is.rst:155 msgid "Forgejo release information:" msgstr "" -#: ../../../_source/code-libre-is.rst:158 +#: ../../../_source/code-libre-is.rst:157 msgid "``_" msgstr "" -#: ../../../_source/code-libre-is.rst:160 +#: ../../../_source/code-libre-is.rst:159 msgid "" "For this server we'll be using the Long Term Support (LTS) releases, " "currently starting with the major version \"7\"." msgstr "" -#: ../../../_source/code-libre-is.rst:163 +#: ../../../_source/code-libre-is.rst:162 msgid "Download information: ``_" msgstr "" -#: ../../../_source/code-libre-is.rst:165 +#: ../../../_source/code-libre-is.rst:164 msgid "Latest releases can be found here:" msgstr "" -#: ../../../_source/code-libre-is.rst:167 +#: ../../../_source/code-libre-is.rst:166 msgid "``_" msgstr "" -#: ../../../_source/code-libre-is.rst:169 +#: ../../../_source/code-libre-is.rst:168 msgid "Binary install docs here:" msgstr "" -#: ../../../_source/code-libre-is.rst:171 +#: ../../../_source/code-libre-is.rst:170 msgid "``_" msgstr "" -#: ../../../_source/code-libre-is.rst:173 +#: ../../../_source/code-libre-is.rst:172 msgid "Get Forgejo GPG key:" msgstr "" -#: ../../../_source/code-libre-is.rst:179 +#: ../../../_source/code-libre-is.rst:178 msgid "Install Forgejo thusly." msgstr "" -#: ../../../_source/code-libre-is.rst:211 +#: ../../../_source/code-libre-is.rst:210 msgid "Reverse Proxy" msgstr "" -#: ../../../_source/code-libre-is.rst:212 +#: ../../../_source/code-libre-is.rst:211 msgid "Set up Apache to be a reverse proxy for Forgejo." msgstr "" -#: ../../../_source/code-libre-is.rst:248 +#: ../../../_source/code-libre-is.rst:251 msgid "Remove old Apache configs, and put new one in place." msgstr "" -#: ../../../_source/code-libre-is.rst:261 +#: ../../../_source/code-libre-is.rst:264 msgid "Admin Setup" msgstr "" -#: ../../../_source/code-libre-is.rst:263 +#: ../../../_source/code-libre-is.rst:266 msgid "Now connect to the newly created site and configure:" msgstr "" -#: ../../../_source/code-libre-is.rst:267 +#: ../../../_source/code-libre-is.rst:270 msgid "Most of the defaults are ok. Set:" msgstr "" -#: ../../../_source/code-libre-is.rst:269 +#: ../../../_source/code-libre-is.rst:272 msgid "Database type: MySQL" msgstr "" -#: ../../../_source/code-libre-is.rst:270 +#: ../../../_source/code-libre-is.rst:273 msgid "Host: 127.0.0.1:3306" msgstr "" -#: ../../../_source/code-libre-is.rst:271 +#: ../../../_source/code-libre-is.rst:274 msgid "Username: forgejo" msgstr "" -#: ../../../_source/code-libre-is.rst:272 +#: ../../../_source/code-libre-is.rst:275 msgid "Password: Set to database password" msgstr "" -#: ../../../_source/code-libre-is.rst:273 +#: ../../../_source/code-libre-is.rst:276 msgid "Database name: forgejodb (note \"db\" at end, like above)" msgstr "" -#: ../../../_source/code-libre-is.rst:274 +#: ../../../_source/code-libre-is.rst:277 msgid "Instance title: Libre Code" msgstr "" -#: ../../../_source/code-libre-is.rst:275 +#: ../../../_source/code-libre-is.rst:278 msgid "SSH server port: 22" msgstr "" -#: ../../../_source/code-libre-is.rst:277 +#: ../../../_source/code-libre-is.rst:280 msgid "" "The reset should be ok by default. The main SSH should be on an alternative " "port. Email settings will be set up at another point." msgstr "" -#: ../../../_source/code-libre-is.rst:281 +#: ../../../_source/code-libre-is.rst:284 msgid "Uncheck:" msgstr "" -#: ../../../_source/code-libre-is.rst:283 +#: ../../../_source/code-libre-is.rst:286 msgid "Enable OpenID sign-in" msgstr "" -#: ../../../_source/code-libre-is.rst:285 +#: ../../../_source/code-libre-is.rst:288 msgid "Set up:" msgstr "" -#: ../../../_source/code-libre-is.rst:287 +#: ../../../_source/code-libre-is.rst:290 msgid "Administrator account settings" msgstr "" -#: ../../../_source/code-libre-is.rst:288 +#: ../../../_source/code-libre-is.rst:291 msgid "Administrator username: codeadmin" msgstr "" -#: ../../../_source/code-libre-is.rst:292 +#: ../../../_source/code-libre-is.rst:295 msgid "Configure Forgejo" msgstr "" -#: ../../../_source/code-libre-is.rst:294 +#: ../../../_source/code-libre-is.rst:297 msgid "Configuration cheat sheet:" msgstr "" -#: ../../../_source/code-libre-is.rst:296 +#: ../../../_source/code-libre-is.rst:299 msgid "``_" msgstr "" -#: ../../../_source/code-libre-is.rst:298 +#: ../../../_source/code-libre-is.rst:301 msgid "Configure Forgejo thusly:" msgstr "" -#: ../../../_source/code-libre-is.rst:305 +#: ../../../_source/code-libre-is.rst:308 msgid "In the very top section, add:" msgstr "" -#: ../../../_source/code-libre-is.rst:313 +#: ../../../_source/code-libre-is.rst:316 msgid "" "Add to the [server] section, so port 3000 is just listening on localhost. " "Also set the SSH to use a different than the main openssh server. This way " @@ -290,10 +290,30 @@ msgid "" "2222 to port 22 in the firewall." msgstr "" -#: ../../../_source/code-libre-is.rst:326 +#: ../../../_source/code-libre-is.rst:329 msgid "Under [service] change this to true:" msgstr "" -#: ../../../_source/code-libre-is.rst:333 +#: ../../../_source/code-libre-is.rst:336 msgid "Add sections:" msgstr "" + +#: ../../../_source/code-libre-is.rst:349 +msgid "Email" +msgstr "" + +#: ../../../_source/code-libre-is.rst:351 +msgid "Set up email thusly." +msgstr "" + +#: ../../../_source/code-libre-is.rst:353 +msgid "``_" +msgstr "" + +#: ../../../_source/code-libre-is.rst:355 +msgid "Add a forgejo@libre.is used to the mail server." +msgstr "" + +#: ../../../_source/code-libre-is.rst:357 +msgid "Edit /etc/forgejo/app.ini" +msgstr ""