#soft_bounce = no queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix myhostname = spamguard.domain mydomain = sj-domain myorigin = spamguard.domain.com mydestination = $mydomain # REJECTING UNKNOWN RELAY USERS relay_recipient_maps = hash:/etc/postfix/relay_exchange hash:/etc/postfix/relay_local local_recipient_maps = proxy:unix:passwd.byname $alias_maps $relay_recipient_maps unknown_local_recipient_reject_code = 450 relay_domains = domain.com transport_maps = hash:/etc/postfix/transport local_transport = local #recipient_delimiter = + smtpd_banner = $myhostname ESMTP $mail_name debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop manpage_directory = /usr/share/man sample_directory = /etc/postfix/samples readme_directory = /etc/postfix/README_FILES alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases biff = no # Anti-Spam configurations smtpd_helo_required = yes strict_rfc821_envelopes = yes disable_vrfy_command = yes smtpd_restriction_classes = verify_sender smtpd_recipient_limit = 500 verify_sender = reject_unverified_sender #header_checks = pcre:/etc/postfix/header_checks #body_checks = pcre:/etc/postfix/body_checks smtpd_recipient_restrictions = reject_invalid_hostname, # reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, check_helo_access hash:/etc/postfix/helo_access, check_recipient_access hash:/etc/postfix/recipient_access, check_sender_access hash:/etc/postfix/sender_access, check_client_access hash:/etc/postfix/client_access, reject_rbl_client relays.ordb.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client list.dsbl.org, reject_rbl_client opm.blitzed.org, permit content_filter = smtp-amavis:[127.0.0.1]:10024 max_use = 10