rendered paste bodysoft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
mail_owner = postfix
default_privs = nobody
myhostname = mail.hivearray.com
mydomain = hivearray.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
alias_maps = hash:/etc/aliases
# local_recipient_maps =
# Mail has to go somewhere! define where the users are
local_recipient_maps = unix:passwd.byname $alias_maps
unknown_local_recipient_reject_code = 550
# mynetworks_style = subnet
# Only one mail machine, so dont trust anyone but yourself
mynetworks_style = host
# OR
#mynetworks_style = XXX.XXX.XXX.XXX, 127.0.0.0/8
# relay_domains = $mydestination
# relayhost = $mydomain
# Shouldnt need to relay
smtpd_delay_reject = yes
#strict_rfc821_envelopes = yes
# Above is optional
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
check_helo_access
hash:/etc/postfix/helo_access,
reject_non_fqdn_hostname,
reject_invalid_hostname,
# reject_unknown_hostname,
#can cause high rejection of valid mail
permit
disable_vrfy_command = yes
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
smtpd_recipient_restrictions =
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
# ABOVE ENTRY REQUIRED to prevent open relay!
reject_rbl_client list.dsbl.org,
# Above line rejects open relays
reject_rbl_client zen.spamhaus.org,
# Above line rejects based on spamhaus listing
# check_policy_service unix:private/policy
# Above line for greylisting (install postgrey)
# check_policy_service inet:127.0.0.1:10023
# Above line for SPF check (install an SPF checker)
permit
smtpd_data_restrictions =
reject_unauth_pipelining
permit
header_checks = regexp:/usr/local/etc/postfix/header_checks
smtpd_banner = $myhostname ESMTP $mail_name
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 20
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no