postfix
This commit is contained in:
parent
6af050a5a7
commit
9ad571f383
|
@ -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 11:37-0600\n"
|
"POT-Creation-Date: 2024-09-01 11:45-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"
|
||||||
|
@ -62,7 +62,7 @@ msgstr ""
|
||||||
msgid "MariaDB"
|
msgid "MariaDB"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:28 ../../../_source/mail-libre-is.rst:363
|
#: ../../../_source/mail-libre-is.rst:28 ../../../_source/mail-libre-is.rst:413
|
||||||
msgid "OpenDKIM"
|
msgid "OpenDKIM"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ msgstr ""
|
||||||
msgid "`<http://www.opendkim.org/>`_"
|
msgid "`<http://www.opendkim.org/>`_"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:32 ../../../_source/mail-libre-is.rst:371
|
#: ../../../_source/mail-libre-is.rst:32 ../../../_source/mail-libre-is.rst:421
|
||||||
msgid "OpenDMARC"
|
msgid "OpenDMARC"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -238,31 +238,55 @@ msgstr ""
|
||||||
msgid "Restart dovecot again...."
|
msgid "Restart dovecot again...."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:372
|
#: ../../../_source/mail-libre-is.rst:364
|
||||||
msgid "Requires database setup."
|
msgid "More postfix"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:365
|
||||||
|
msgid "More postfix configuration, now that the above is set up."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:367
|
||||||
|
msgid "Set postfix to use dovecot for authentication:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:381
|
#: ../../../_source/mail-libre-is.rst:381
|
||||||
|
msgid "Edit /etc/postfix/master.cf and change thusly:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:399
|
||||||
|
msgid "Restart postfix:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:405
|
||||||
|
msgid "Make sure all is good:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:422
|
||||||
|
msgid "Requires database setup."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../../../_source/mail-libre-is.rst:431
|
||||||
msgid "SPF"
|
msgid "SPF"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:382
|
#: ../../../_source/mail-libre-is.rst:432
|
||||||
msgid "Set up SPF."
|
msgid "Set up SPF."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:386
|
#: ../../../_source/mail-libre-is.rst:436
|
||||||
msgid "DNS"
|
msgid "DNS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:387
|
#: ../../../_source/mail-libre-is.rst:437
|
||||||
msgid "Set up DNS."
|
msgid "Set up DNS."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:391
|
#: ../../../_source/mail-libre-is.rst:441
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../../_source/mail-libre-is.rst:392
|
#: ../../../_source/mail-libre-is.rst:442
|
||||||
msgid "Perhaps these too."
|
msgid "Perhaps these too."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -359,6 +359,56 @@ Restart dovecot again....
|
||||||
|
|
||||||
sudo systemctl restart dovecot
|
sudo systemctl restart dovecot
|
||||||
|
|
||||||
|
|
||||||
|
More postfix
|
||||||
|
============
|
||||||
|
More postfix configuration, now that the above is set up.
|
||||||
|
|
||||||
|
Set postfix to use dovecot for authentication:
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
sudo postconf smtpd_sasl_type=dovecot
|
||||||
|
sudo postconf smtpd_sasl_path=private/auth
|
||||||
|
sudo postconf smtpd_sasl_auth_enable=yes
|
||||||
|
|
||||||
|
sudo postconf smtpd_tls_security_level=may
|
||||||
|
sudo postconf smtpd_tls_auth_only=yes
|
||||||
|
sudo postconf smtpd_tls_cert_file=/etc/letsencrypt/live/mail.libre.is/fullchain.pem
|
||||||
|
sudo postconf smtpd_tls_key_file=/etc/letsencrypt/live/mail.libre.is/privkey.pem
|
||||||
|
sudo postconf smtp_tls_security_level=may
|
||||||
|
|
||||||
|
Edit /etc/postfix/master.cf and change thusly:
|
||||||
|
|
||||||
|
.. code-block:: cfg
|
||||||
|
|
||||||
|
submission inet n - y - - smtpd
|
||||||
|
-o syslog_name=postfix/submission
|
||||||
|
-o smtpd_tls_security_level=encrypt
|
||||||
|
-o smtpd_sasl_auth_enable=yes
|
||||||
|
-o smtpd_tls_auth_only=yes
|
||||||
|
-o smtpd_reject_unlisted_recipient=no
|
||||||
|
-o smtpd_client_restrictions=
|
||||||
|
-o smtpd_helo_restrictions=
|
||||||
|
-o smtpd_sender_restrictions=
|
||||||
|
-o smtpd_relay_restrictions=
|
||||||
|
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
|
||||||
|
-o milter_macro_daemon_name=ORIGINATING
|
||||||
|
|
||||||
|
|
||||||
|
Restart postfix:
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
sudo systemctl restart postfix
|
||||||
|
|
||||||
|
Make sure all is good:
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
|
sudo postfix check
|
||||||
|
|
||||||
|
|
||||||
OpenDKIM
|
OpenDKIM
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue