soft_bounce = no queue_directory = /var/spool/postfix daemon_directory = /usr/libexec/postfix mail_owner = postfix default_privs = nobody inet_interfaces = all myhostname = mail.domen1.ru mydomain = domen1.ru myorigin = $mydomain mydestination = $myhostname,localhost.$myhostname,localhost local_recipient_maps = proxy:unix:passwd.byname $alias_maps unknown_local_recipient_reject_code = 550 mynetworks = 127.0.0.0/8 #relay_domains = $mydestination, $virtual_mailbox_domains relay_domains = alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mail_spool_directory = /var/mail smtpd_banner = $myhostname ESMTP debug_peer_level = 2 debug_peer_list = 127.0.0.1 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 mailq_path = /usr/bin/mailq setgid_group = postdrop html_directory = no manpage_directory = /usr/local/man config_directory = /etc/postfix inet_protocols = ipv4 smtpd_use_tls = yes smtp_tls_security_level = may smtpd_tls_security_level = may smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache smtpd_tls_key_file = /etc/postfix/certs/key.pem smtpd_tls_cert_file = /etc/postfix/certs/cert.pem tls_random_source = dev:/dev/urandom virtual_mailbox_domains = mysql:$config_directory/sql/vdomains.cf virtual_mailbox_base = /var/vmail virtual_mailbox_maps = mysql:$config_directory/sql/vmailbox.cf virtual_alias_maps = mysql:$config_directory/sql/valias.cf virtual_minimum_uid = 1000 virtual_uid_maps = static:1000 virtual_gid_maps = static:12 virtual_transport = dovecot dovecot_destination_recipient_limit = 1 smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = $mynetworks smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot smtpd_sasl_path = /var/spool/postfix/private/dovecot-auth smtpd_discard_ehlo_keywords = etrn, silent-discard smtpd_forbidden_commands = CONNECT GET POST broken_sasl_auth_clients = yes smtpd_delay_reject = yes smtpd_helo_required = yes disable_vrfy_command = yes smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_multi_recipient_bounce, permit_mynetworks, check_client_access hash:/etc/postfix/client_white_list, check_sender_access hash:/etc/postfix/sender_white_list, check_sender_access hash:/etc/postfix/blacklist, permit_sasl_authenticated, check_helo_access hash:/etc/postfix/helo_checks, reject_unauth_destination, check_policy_service unix:/var/spool/postfix/postgrey/socket, reject_invalid_hostname smtpd_helo_restrictions = check_client_access hash:/etc/postfix/client_white_list, check_sender_access hash:/etc/postfix/sender_white_list, check_client_access hash:/etc/postfix/blacklist, check_sender_access hash:/etc/postfix/blacklist, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname smtpd_data_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_multi_recipient_bounce, smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access_sender, check_sender_access hash:/etc/postfix/sender_white_list, check_client_access hash:/etc/postfix/client_white_list, check_sender_access hash:/etc/postfix/blacklist, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain