# See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (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 myorigin = addaxinformatique.com myhostname = mail.addaxinformatique.com mynetworks = 127.0.0.0/8, 192.168.0.0/24, 10.0.0.0/24 mydestination = local_recipient_maps = relayhost = smtp.nerim.net recipient_delimiter = local_transport = error:no local mail delivery relay_domains = addaxinformatique.com addax.eu transport_maps = hash:/etc/postfix/transport #users alias_maps = hash:/etc/aliases virtual_alias_maps = hash:/etc/postfix/virtual #relay_recipient_maps = hash:/etc/postfix/relay_recipients relay_recipient_maps = ldap:/etc/postfix/ldap-check.cf #restrictions smtpd_helo_required = yes smtpd_client_restrictions = reject_unknown_client # reject_rbl_client dnsbl.sorbs.net smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, reject_non_fqdn_sender, reject_unknown_sender_domain smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unauth_pipelining, check_policy_service unix:private/policy, check_policy_service inet:127.0.0.1:60000 smtpd_data_restrictions = reject_unauth_pipelining header_checks = pcre:/etc/postfix/header_checks body_checks = pcre:/etc/postfix/body_checks content_filter = smtp-amavis:[127.0.0.1]:10024