mail_owner = postfix setgid_group = postdrop queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix manpage_directory = /usr/local/man readme_directory = no smtpd_banner = $myhostname NO UCE ESMTP biff = no disable_vrfy_command = yes smtpd_helo_required = yes strict_rfc821_envelopes = yes append_dot_mydomain = yes append_at_myorigin = yes soft_bounce = no smtpd_delay_reject = no unknown_local_recipient_reject_code = 550 maps_rbl_reject_code = 554 invalid_hostname_reject_code = 501 non_fqdn_reject_code = 504 net_interfaces = all parent_domain_matches_subdomains = smtpd_access_maps masquerade_classes = envelope_sender, envelope_recipient, header_sender, header_recipient mynetworks_style = subnet mydomain = domain1.tld myhostname = mail.domain1.tld myorigin = $mydomain mydestination = $myhostname, $mydomain, domain2.tld, mail.domain2.tld, domain3.tld, mail.domain3.tld, domain4.tld, mail.domain4.tld, domain5.tld, mail.domain5.tld, domain6.tld, mail.domain6.tld, domain7.tld, mail.domain7.tld relay_domains = $mydestination masquerade_domains = domain2.tld, domain3.tld, domain4.tld, domain5.tld, domain6.tld, domain7.tld, $mydomain alias_database = hash:/etc/postfix/aliases user_database = hash:/etc/postfix/vmailbox sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq alias_maps = $alias_database virtual_maps = hash:/etc/postfix/virtual virtual_mailbox_maps = $user_database virtual_uid_maps = hash:/etc/postfix/vuid virtual_gid_maps = hash:/etc/postfix/vgid virtual_mailbox_base = /var/mail/vhosts virtual_minimum_uid = 5000 virtual_mailbox_limit = 10240000 message_size_limit = 5120000 local_transport = virtual local_recipient_maps = $user_database smtpd_restriction_classes = sender_checks header_checks = pcre:/etc/postfix/header_checks mime_header_checks = pcre:/etc/postfix/mime_header_checks body_checks = pcre:/etc/postfix/body_checks recipient_checks = pcre:/etc/postfix/recipient_checks helo_checks = hash:/etc/postfix/helo_checks sender_checks = check_client_access hash:/etc/postfix/sender_checks, reject client_checks = hash:/etc/postfix/client_checks freemail_checks = hash:/etc/postfix/freemail_checks popauth_checks = hash:/etc/postfix/popauth_checks rbl_checks = hash:/etc/postfix/rbl_checks filtered_checks = hash:/etc/postfix/filtered_domains smtpd_client_restrictions = permit_mynetworks, reject_unauth_pipelining, check_client_access $popauth_checks, check_client_access $client_checks, check_client_access $rbl_checks, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client opm.blitzed.org, reject_rbl_client relays.ordb.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client zombie.dnsbl.sorbs.net, permit smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, check_helo_access $helo_checks, permit smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender, check_client_access $popauth_checks, check_sender_access $freemail_checks, permit smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, check_client_access $popauth_checks, reject_unauth_destination, check_recipient_access $recipient_checks, # Uncomment this line if you will use Anomy/SpamAssassin, or remove this whole line if not: check_recipient_access $filtered_checks, permit smtpd_data_restrictions = reject_unauth_pipelining, permit