2021-10-22 09:56:31 +02:00
|
|
|
Index: postfix-3.6.2/postfix-SUSE/postfix.service
|
|
|
|
===================================================================
|
|
|
|
--- postfix-3.6.2.orig/postfix-SUSE/postfix.service
|
|
|
|
+++ postfix-3.6.2/postfix-SUSE/postfix.service
|
2022-04-10 11:27:44 +02:00
|
|
|
@@ -19,6 +19,24 @@ After=amavis.service mysql.service cyrus
|
2021-10-22 09:56:31 +02:00
|
|
|
Conflicts=sendmail.service exim.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
2022-04-10 11:27:44 +02:00
|
|
|
+
|
|
|
|
+# Needed write permissions for /etc/aliases.* or /etc/aliases.lmdb
|
|
|
|
+# https://bugzilla.opensuse.org/show_bug.cgi?id=1191988
|
|
|
|
+#ProtectSystem=full
|
|
|
|
+#ReadWritePaths=/etc/postfix
|
|
|
|
+
|
2021-10-22 12:12:06 +02:00
|
|
|
+ProtectHome=false
|
2021-10-22 09:56:31 +02:00
|
|
|
+PrivateDevices=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectClock=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/spool/postfix/pid/master.pid
|
|
|
|
ExecStartPre=-/bin/echo 'Starting mail service (Postfix)'
|