Mercurial > code > home > repos > infra
diff templates/mail/main.cf.j2 @ 180:1aaff9904993
organize file, rm some default values
author | drewp@bigasterisk.com |
---|---|
date | Mon, 27 Mar 2023 17:07:19 -0700 |
parents | fb226978c4d7 |
children | 4cab03eb492e |
line wrap: on
line diff
--- a/templates/mail/main.cf.j2 Sat Mar 25 18:44:13 2023 -0700 +++ b/templates/mail/main.cf.j2 Mon Mar 27 17:07:19 2023 -0700 @@ -3,15 +3,11 @@ compatibility_level = 3 smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) -biff = no - -# appending .domain is the MUA's job. -append_dot_mydomain = no - -# Uncomment the next line to generate "delayed mail" warnings -#delay_warning_time = 4h readme_directory = /usr/share/doc/postfix +html_directory = /usr/share/doc/postfix/html + +inet_interfaces = all # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/self1-ca.crt @@ -22,29 +18,30 @@ smtpd_tls_loglevel = 0 smtpd_tls_security_level = may smtpd_tls_received_header = yes - + # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = bigasterisk.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases -myorigin = bigasterisk.com mydestination = /etc/postfix/mydestination relay_domains = $mydestination relayhost = 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 -#mailbox_command = procmail -a "$EXTENSION" -mailbox_size_limit = 0 + recipient_delimiter = + -inet_interfaces = all -html_directory = /usr/share/doc/postfix/html +# 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" # http://www.spamcop.net/fom-serve/cache/349.html # upgraded, per http://www.wrightthisway.com/Articles/000062.html @@ -86,5 +83,3 @@ virtual_alias_maps = hash:/etc/postfix/virtual -message_size_limit = 50000000 -