# Set banner smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) # Disable local mail notifications biff = no # Alias locations alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases # Local name, should match the machine's FQDN myhostname = ucware.beispiel.org # Mail for those domains will *not* be sent to the relay host mydestination = $myhostname localhost # Server to relay mails to relayhost = [smtp.beispiel.org] # Accept local mail only mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 inet_interfaces = loopback-only inet_protocols = ipv4 # Authenticate when talking to other servers smtp_sasl_auth_enable = yes smtp_sasl_security_options = noplaintext noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password # Use system SSL certificates smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt # Set default relay restrictions smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination