# See /usr/share/postfix/main.cf.dist for a commented, more complete version 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 = no virtual_alias_domains = otherdomain1.com otherdomain2.eu virtual_alias_maps = hash:/etc/postfix/virtual myhostname = mail.thisserver.eu alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = thisserver1.eu, karloluiten.nl, other_domain_for_this_server.nl relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_command = mailbox_size_limit = 0 message_size_limit = 40960000 recipient_delimiter = + inet_interfaces = all inet_protocols = all home_mailbox = Maildir/ transport_maps = hash:/etc/postfix/transport mailman_destination_recipient_limit = 1 relay_domains = $mydestination, lists.thisserver.eu, myotherdomain.com relay_recipient_maps = smtpd_sasl_auth_enable = yes smtp_sasl_auth_enable = no broken_sasl_auth_clients = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_CAfile = /etc/ssl/cacert.pem # cert I created using the guide smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_sasl_security_options = noanonymous tls_random_source = dev:/dev/urandom smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_tls_cert_file = /etc/ssl/certs/mailcert.pem smtpd_tls_key_file = /etc/ssl/private/mailkey.pem