# INTERNET HOST AND DOMAIN NAMES
myhostname = host.somedomain.ru
mydomain = somedomain.ru
mydestination = $myhostname, $mydomain, localhost.$mydomain, inagro.ru# REJECTING MAIL FOR UNKNOWN LOCAL USERS
local_recipient_maps = hash:/usr/local/etc/postfix/recipients_list
unknown_local_recipient_reject_code = 450
# TRUST AND RELAY CONTROL
mynetworks = 127.0.0.0/8, XXX.XXX.XXX.XXX, XXX.XXX.XXX.XXX, XXX.XXX.XXX.XXX
relay_domains = host.somedomain.ru, somedomain.ru
# REJECTING UNKNOWN RELAY USERS
relay_recipient_maps = hash:/usr/local/etc/postfix/recipients_list
# JUNK MAIL CONTROLS
header_checks = regexp:/usr/local/etc/postfix/header_checks
# DEBUGGING CONTROL
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
daemon_timeout = 66000s
# INSTALL-TIME CONFIGURATION INFORMATION
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
show_user_unknown_table_name = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_application_name = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, permit_auth_destination, reject_unauth_destination
transport_maps = hash:/usr/local/etc/postfix/transport
reject_unknown_hostname, permit
smtpd_helo_restrictions = reject_invalid_hostname, permit_mynetworks, permit
smtpd_client_restrictions = permit_mynetworks, hash:/usr/local/etc/postfix/access, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client cbl.abuseat.org, reject_rbl_client spamsources.fabel.dk, reject_rbl_client opm.blitzed.org, reject_rbl_client combined.njabl.org, reject_rbl_client relays.ordb.org, reject_rbl_client dul.ru, reject_rbl_client dialup.balcklist.jippg.org, reject_rbl_client relays.mail-abuse.org