Доброго дня , у меня проблема не могу настроить постфикс что бы исключить некоторые спам письма.
Проблема заключается в том что postfix пропускает пиьма с заголовком в поле кому , не относящиеся к моему домену.
Пример письма :
Reply-To: =?windows-1251?B?3c/RxA==?= <charlie222@email.ru>
From: =?windows-1251?B?3c/RxA==?= <daniel-k@gmx.net>
To: =?windows-1251?B?wPTg7eDx6Okg0eXw4+Xl4uj3?= <bhjklein@cox.net>
Subject: =?windows-1251?B?z+7k4+7y7uLq4CDo8fXu5O3uLfDg5/Dl+Ojy?=
=?windows-1251?B?5ev87e7pIOTu6vPs5e3y4Pbo6A==?=
Date: Sun, 1 Jul 2012 20:57:15 +0300Файл main.cf
#
# System Config
#
myorigin = mx1.*hall.ru
mydomain = *hall.ru
myhostname = mx1.*hall.ru
mynetworks = 195.2.90.88/32 172.16.0.1/32 172.16.0.2/32 172.16.2.5/32 172.16.2.6/32 172.16.2.11/32 172.16.0.5/3$
bind_ifaces = all
#
# Greatengs for SMTP
#
smtpd_helo_required = yes
smtpd_banner = $myorigin ESMTP QMail
biff = no
append_dot_mydomain = no
delay_warning_time = 4h
readme_directory = /usr/share/doc/postfix
html_directory = /usr/share/doc/postfix/html
#
# Main Config
#
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases.db
relay_domains = $mydomain
relay_recipient_maps = hash:/etc/postfix/relay_recipient_map.cf
virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps.cf
transport_maps = hash:/etc/postfix/transport_map.cf
mydestination =
recipient_delimiter = +
message_size_limit = 20971520
inet_interfaces = $bind_ifaces
disable_vrfy_command = yes
smtpd_delay_reject = yes
strict_rfc821_envelopes = yes
#-------------------------------------------------------------------------------------------------------#
# RESTRICTIONS #
#-------------------------------------------------------------------------------------------------------#
#
# 1 chain smtpd_helo_restrictions
#
smtpd_helo_restrictions=
permit_mynetworks
check_helo_access hash:/etc/postfix/wl_helo.cf
check_helo_access regexp:/etc/postfix/helo_regexp
reject_invalid_helo_hostname
reject_non_fqdn_helo_hostname
reject_unknown_helo_hostname
#
# 2 chain smtpd_client_restrictions
#
smtpd_client_restrictions=
permit_mynetworks
check_client_access hash:/etc/postfix/client_restriction
reject_unknown_client_hostname
#
# 3 smtpd_sender_restrictions
#
smtpd_sender_restrictions=
reject_non_fqdn_sender
reject_unknown_sender_domain
#
# 4 smtpd_recipient_restrictions
#
smtpd_recipient_restrictions=
permit_mynetworks
reject_unauth_destination
check_recipient_access hash:/etc/postfix/whitelist_email
check_client_access hash:/etc/postfix/policyd_whitelist.cf
check_sender_access hash:/etc/postfix/no_verify_sender.cf
reject_unauth_pipelining
reject_unknown_client
reject_non_fqdn_recipient
reject_non_fqdn_hostname
reject_invalid_hostname
reject_unknown_recipient_domain
reject_rbl_client sbl.spamhaus.org
reject_rbl_client cbl.abuseat.org
reject_rbl_client dul.dnsbl.sorbs.net
reject_rbl_client dul.ru
reject_rbl_client bl.spamcop.net
check_policy_service inet:127.0.0.1:10031
# reject_unverified_sender
#
# 6 smtpd_data_restrictions
#
smtpd_data_restrictions=
permit_mynetworks
reject_multi_recipient_bounce
reject_unauth_pipelining
header_checks = pcre:/etc/postfix/header_checks