# See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian 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 smtpd_banner = $myhostname Library of Code sp-us Staff Services | ESMTP (Debian/GNU) 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 = no # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on # fresh installs. compatibility_level = 2 # TLS parameters smtpd_tls_cert_file=/etc/postfix/ssl/globalsign.crt smtpd_tls_key_file=/etc/postfix/ssl/globalsign.key.pem smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_tls_security_level = may smtpd_tls_security_level = may smtp_tls_note_starttls_offer = yes smtpd_tls_CAfile = /etc/postfix/ssl/globalsign.ca.crt smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. # RESTRICTIONS smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination, smtpd_helo_restrictions = permit_mynetworks, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, reject_unknown_helo_hostname, permit, smtpd_sender_restrictions = reject_unknown_sender_domain, reject_unknown_reverse_client_hostname, reject_unknown_client_hostname, reject_sender_login_mismatch, permit_mynetworks, permit_sasl_authenticated, permit, smtpd_recipient_restrictions = reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, check_policy_service inet:127.0.0.1:10023 permit, myhostname = staff.libraryofcode.org alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases smtpd_sender_login_maps = hash:/etc/postfix/virtual-mailbox-users myorigin = /etc/mailname mydestination = $myhostname, libraryofcode.org, libraryofcode.us staff.libraryofcode.us, staff-libraryofcode.staff.libraryofcode.us, localhost.staff.libraryofcode.us, localhost, libraryofcode.us relayhost = relay_domains = lists.libraryofcode.org mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 63.141.252.130 mailbox_size_limit = 0 mailbox_command = procmail -a "$EXTENSION" DEFAULT=/var/mail/$USER recipient_delimiter = + inet_interfaces = all inet_protocols = all smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes milter_default_action = accept milter_protocol = 6 smtpd_milters = inet:localhost:8891, local:/opendmarc/opendmarc.sock non_smtpd_milters = $smtpd_milters mail_name = Library of Code sp-us | Staff Command virtual_alias_maps = hash:/etc/postfix/virtual #authorized_submit_users = !boss, !test, static:all message_size_limit = 1073741824 transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 mailman_destination_recipient_limit = 1 #local_recipient_maps = hash:/var/lib/mailman3/data/postfix_lmtp