added backup and email client

This commit is contained in:
2026-02-01 00:02:35 +01:00
parent ff857be01a
commit e4fdfbc95f
210 changed files with 24211 additions and 742 deletions
+22
View File
@@ -0,0 +1,22 @@
docker exec plesk-test bash -c '
# Entferne alte submission-Konfiguration falls vorhanden
sed -i "/^submission/,/^[^ ]/{ /^submission/d; /^ -o/d; }" /etc/postfix/master.cf
# Neue Konfiguration mit Dovecot SASL hinzufügen
cat >> /etc/postfix/master.cf << EOF
# Submission Port 587 für STARTTLS
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=/run/dovecot/auth-client
-o smtpd_sasl_security_options=noanonymous
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
EOF
postfix reload
echo "Done! Port 587 mit Dovecot SASL konfiguriert"
'