Mail firewall

This commit is contained in:
Jeff Moe 2024-09-01 12:47:33 -06:00
parent 6fda76bc77
commit 0b8f997ce9
2 changed files with 50 additions and 1 deletions

View file

@ -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 12:39-0600\n"
"POT-Creation-Date: 2024-09-01 12:47-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@ -398,3 +398,23 @@ msgstr ""
msgid "Perhaps these too."
msgstr ""
#: ../../../_source/mail-libre-is.rst:607
msgid "Firewall"
msgstr ""
#: ../../../_source/mail-libre-is.rst:608
msgid "Open TCP ports."
msgstr ""
#: ../../../_source/mail-libre-is.rst:610
msgid "Confirm open sieve..."
msgstr ""
#: ../../../_source/mail-libre-is.rst:630
msgid "Email Client Setup"
msgstr ""
#: ../../../_source/mail-libre-is.rst:631
msgid "Thusly:"
msgstr ""

View file

@ -602,3 +602,32 @@ Perhaps these too.
apt install postfix-policyd-spf-python rspamd
apt install fail2ban spamassassin sqlgrey opendkim-tools make
Firewall
========
Open TCP ports.
Confirm open sieve...
.. code-block:: sh
# Web
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
# Postfix
-A INPUT -p tcp --dport 25 -j ACCEPT
-A INPUT -p tcp --dport 587 -j ACCEPT
# Dovecot imaps
-A INPUT -p tcp --dport 993 -j ACCEPT
# Dovecot sieve
-A INPUT -p tcp --dport 4190 -j ACCEPT
Email Client Setup
==================
Thusly: