double_bounce_sender = postmaster
queue_directory = /var/spool/postfix
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
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
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
smtpd_banner = Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
transport_maps = mysql:/etc/postfix/transport.cf
smtpd_sasl_local_domain = host.com
virtual_mailbox_base = /
virtual_uid_maps = mysql:/etc/postfix/ids.cf
virtual_gid_maps = mysql:/etc/postfix/gids.cf
virtual_mailbox_maps = mysql:/etc/postfix/aliases.cf
virtual_maps = mysql:/etc/postfix/remote_aliases.cf
relay_domains = $transport_maps
local_users = hash:/etc/postfix/local_users
disable_vrfy_command = yes
ignore_mx_lookup_error = no
local_recipient_maps = $virtual_mailbox_maps $virtual_maps
unknown_local_recipient_reject_code = 550
myhostname = www.host.com
mynetworks = 127.0.0.0/8
# 10.10.0.0/16
mynetworks_style = subnet
mydestination=localhost
message_size_limit = 10240000
bounce_size_limit = 3000
disable_verp_bounces=yes
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_non_fqdn_recipient
maps_rbl_domains = work.drbl.xxx.ru, relays.ordb.org
maps_rbl_reject_code = 550
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_rbl_client relays.ordb.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client dul.ru,
reject_rbl_client cbl.abuseat.org
smtpd_client_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_rbl_client relays.ordb.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client dul.ru,
reject_rbl_client cbl.abuseat.org
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname
default_destination_recipient_limit = 15
body_checks = regexp:/etc/postfix/body_checks
header_checks = regexp:/etc/postfix/header-checks
# smtpd_delay_reject=no
strict_rfc821_envelopes = yes
# ignore_mx_lookup_error = yes
#=== antivirus
content_filter = vscan:
soft_bounce = no
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_address_reject_code = 550
defer_code = 550
------------------------------------------
Хелло всем!
как мне настроить Postfix чтобы не было спама, и на письма для несуществующих пользователей постфикс не отвечал. Может я чтото не так делаю?