From: LaMont Jones Subject: Set Debian specific defaults Forwarded: not-needed Updated: Wed, 11 Dec 2024 00:08:31 +0300 diff --git a/conf/main.cf b/conf/main.cf --- a/conf/main.cf +++ b/conf/main.cf @@ -81,3 +81,3 @@ data_directory = /var/lib/postfix # -mail_owner = postfix +#mail_owner = postfix @@ -120,2 +120,7 @@ mail_owner = postfix # +# Debian GNU/Linux specific: Specifying a file name will cause the +# first line of that file to be used as the name. The Debian default +# is /etc/mailname. +# +#myorigin = /etc/mailname #myorigin = $myhostname @@ -288,2 +293,3 @@ unknown_local_recipient_reject_code = 550 #mynetworks = hash:/etc/postfix/network_table +mynetworks = 127.0.0.0/8 @@ -578,2 +584,3 @@ unknown_local_recipient_reject_code = 550 #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) +smtpd_banner = $myhostname ESMTP $mail_name (@@DISTRO@@) @@ -602,3 +609,3 @@ unknown_local_recipient_reject_code = 550 # -debug_peer_level = 2 +#debug_peer_level = 2 diff --git a/conf/postfix-files b/conf/postfix-files --- a/conf/postfix-files +++ b/conf/postfix-files @@ -146,24 +146,25 @@ $config_directory/LICENSE:f:root:-:644:1 $config_directory/TLS_LICENSE:f:root:-:644:1 -$config_directory/access:f:root:-:644:p1 -$config_directory/aliases:f:root:-:644:p1 -$config_directory/bounce.cf.default:f:root:-:644:1 -$config_directory/canonical:f:root:-:644:p1 -$config_directory/cidr_table:f:root:-:644:o -$config_directory/generic:f:root:-:644:p1 -$config_directory/generics:f:root:-:644:o -$config_directory/header_checks:f:root:-:644:p1 -$config_directory/install.cf:f:root:-:644:o -$config_directory/main.cf.default:f:root:-:644:1 +# Empty files not shipped in Debian +#$config_directory/access:f:root:-:644:p1 +#$config_directory/aliases:f:root:-:644:p1 +#$config_directory/bounce.cf.default:f:root:-:644:1 +#$config_directory/canonical:f:root:-:644:p1 +#$config_directory/cidr_table:f:root:-:644:o +#$config_directory/generic:f:root:-:644:p1 +#$config_directory/generics:f:root:-:644:o +#$config_directory/header_checks:f:root:-:644:p1 +#$config_directory/install.cf:f:root:-:644:o +#$config_directory/main.cf.default:f:root:-:644:1 $config_directory/main.cf:f:root:-:644:p $config_directory/master.cf:f:root:-:644:p -$config_directory/pcre_table:f:root:-:644:o -$config_directory/regexp_table:f:root:-:644:o -$config_directory/relocated:f:root:-:644:p1 -$config_directory/tcp_table:f:root:-:644:o -$config_directory/transport:f:root:-:644:p1 -$config_directory/virtual:f:root:-:644:p1 -$config_directory/postfix-script:f:root:-:755:o -$config_directory/postfix-script-sgid:f:root:-:755:o -$config_directory/postfix-script-nosgid:f:root:-:755:o -$config_directory/post-install:f:root:-:755:o +#$config_directory/pcre_table:f:root:-:644:o +#$config_directory/regexp_table:f:root:-:644:o +#$config_directory/relocated:f:root:-:644:p1 +#$config_directory/tcp_table:f:root:-:644:o +#$config_directory/transport:f:root:-:644:p1 +#$config_directory/virtual:f:root:-:644:p1 +#$config_directory/postfix-script:f:root:-:755:o +#$config_directory/postfix-script-sgid:f:root:-:755:o +#$config_directory/postfix-script-nosgid:f:root:-:755:o +#$config_directory/post-install:f:root:-:755:o $manpage_directory/man1/mailq.1:f:root:-:644