From: Frank Brehm Date: Wed, 15 Jan 2025 15:10:54 +0000 (+0100) Subject: Start configuring postfix X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=2a95ef0e599c34aac5408666367ca9785100db52;p=config%2Fdev-mail-fbrehm%2Fetc.git Start configuring postfix --- diff --git a/.etckeeper b/.etckeeper index 8f27eba..afce3b9 100755 --- a/.etckeeper +++ b/.etckeeper @@ -995,8 +995,11 @@ maybe chmod 0755 'perl' maybe chmod 0755 'perl/Net' maybe chmod 0644 'perl/Net/libnet.cfg' maybe chmod 0755 'postfix' +maybe chmod 0644 'postfix/.gitignore' maybe chmod 0644 'postfix/access' -maybe chmod 0644 'postfix/access.db' +maybe chmod 0644 'postfix/aliases' +maybe chgrp 'postfix' 'postfix/body_checks.pcre' +maybe chmod 0640 'postfix/body_checks.pcre' maybe chmod 0644 'postfix/dynamicmaps.cf' maybe chmod 0755 'postfix/dynamicmaps.cf.d' maybe chmod 0644 'postfix/main.cf' @@ -1013,7 +1016,6 @@ maybe chmod 0644 'postfix/postfix-files.d/sqlite.files' maybe chmod 0755 'postfix/postfix-script' maybe chmod 0755 'postfix/sasl' maybe chmod 0644 'postfix/virtual' -maybe chmod 0644 'postfix/virtual.db' maybe chmod 0755 'ppp' maybe chmod 0755 'ppp/ip-down.d' maybe chmod 0755 'ppp/ip-down.d/bind9' diff --git a/postfix/body_checks.pcre b/postfix/body_checks.pcre new file mode 100644 index 0000000..e69de29 diff --git a/postfix/main.cf b/postfix/main.cf index 54f1f03..c2c8534 100644 --- a/postfix/main.cf +++ b/postfix/main.cf @@ -35,8 +35,8 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = dev-mail-fbrehm.pixelpark.com -alias_maps = hash:/etc/aliases -alias_database = hash:/etc/aliases +alias_maps = hash:/etc/postfix/aliases +alias_database = hash:/etc/postfix/aliases myorigin = /etc/mailname mydestination = $myhostname, dev-mail-fbrehm.pixelpark.com, localhost.pixelpark.com, , localhost relayhost = @@ -46,3 +46,5 @@ mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = all +body_checks = pcre:/etc/postfix/body_checks.pcre +disable_vrfy_command = yes