changeset 185:781919a97c90

kill ipv6 warnings; other minor edits
author drewp@bigasterisk.com
date Mon, 27 Mar 2023 17:15:33 -0700
parents 53b6457f75f3
children db4b3a07a3dc
files templates/mail/main.cf.j2
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/templates/mail/main.cf.j2	Mon Mar 27 17:14:58 2023 -0700
+++ b/templates/mail/main.cf.j2	Mon Mar 27 17:15:33 2023 -0700
@@ -18,6 +18,8 @@
 smtpd_tls_loglevel = 0
 smtpd_tls_security_level = may
 smtpd_tls_received_header = yes
+smtpd_relay_before_recipient_restrictions = yes
+smtp_address_preference = ipv4
 
 # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
 # information on enabling SSL in the smtp client.
@@ -32,14 +34,12 @@
 mynetworks_style = subnet
 mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 10.1.0.0/16 10.3.0.0/16 10.5.0.0/24 192.168.0.3/32 [fc7b:54e8:69a9:e165:86c8:9d42:6cc5:b2a1]/128 [fcc8:29d:5660:ec63:754f:37af:de4a:a9df]/128
 
+# allow realuser+fakepart@bigasterisk.com
 recipient_delimiter = +
 
 # maildir delivery on prime
 mailbox_size_limit = 0
 home_mailbox = Maildir/
-
-# http://www.postfix.org/LOCAL_RECIPIENT_README.html
-#local_recipient_maps = /etc/postfix/local_recipient
 biff = no
 message_size_limit = 50000000
 #mailbox_command = procmail -a "$EXTENSION"
@@ -80,7 +80,9 @@
 
 queue_directory = /var/spool/postfix
 
+# Postfix is the final destination for the specified list 
 virtual_alias_domains = adkinslawgroup.com iveseenyoubefore.com fantasyfamegame.com maxradi.us whopickedthis.com quickwitretort.com drewp.quickwitretort.com kelsi.quickwitretort.com photo.bigasterisk.com whatsplayingnext.com williamperttula.com        
 
+# Optional lookup tables that alias specific mail addresses or domains to other local or remote addresses
 virtual_alias_maps = hash:/etc/postfix/virtual