не принимается почта с внешних серверов
Добавлено: 2007-01-08 13:19:33
доброе время. уже почти все работает (сасл, мускул,постфиксадмин) осталась одна маааленькая проблема-сервер не принимает почту из внешнего мира, хотя в сети и во внешний мир шлет исправно.
root@bc /usr/local/etc/postfix]# postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
debug_peer_list = domen.ru
default_privs = nobody
disable_vrfy_command = yes
inet_interfaces = all
local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $alias_maps
mail_owner = postfix
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = domen.ru
myhostname = bc.domen.ru
mynetworks = 195.5.45.56, 192.168.25.0/24, 192.168.26.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
queue_directory = /var/spool/postfix
smtp_always_send_ehlo = yes
smtp_helo_timeout = 60s
smtp_mail_timeout = 60s
smtp_rcpt_timeout = 90s
smtpd_banner = $myhostname mail server
smtpd_client_restrictions = permit_mynetworks, check_client_access hash:$base/client_access
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 8
smtpd_helo_required = yes
smtpd_helo_restrictions = check_helo_access hash:$base/hello_access, permit_mynetworks, reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_hostname, permit
smtpd_recipient_restrictions = permit_sasl_authenticated, reject
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:$base/sender_access, reject_unknown_sender_domain, reject_unlisted_sender, reject_unverified_sender
smtpd_timeout = 120s
transport_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/transport.conf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/alias.conf
virtual_create_maildirsize = yes
virtual_gid_maps = static:1981
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysqlLookupMaps/domain.conf
virtual_mailbox_limit_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/quota.conf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/mailbox.conf
virtual_maildir_extended = yes
virtual_maildir_limit_message = "Sorry, the user's maildir has overdrawn his diskspace quota, please try again later"
virtual_minimum_uid = 1000
virtual_overquota_bounce = yes
virtual_uid_maps = static:1981
в логах следующие
Jan 8 12:56:54 bc postfix/smtpd[9868]: NOQUEUE: reject: RCPT from mx11.rambler.ru[81.19.88.3]: 554 5.7.1 <yuntikov@domen.ru>: Recipient address rejected: Access denied; from=<postmaster@mx11.rambler.ru> to=<yuntikov@domen.ru> proto=ESMTP helo=<mx11.rambler.ru>
Jan 8 12:56:54 bc postfix/smtpd[9868]: disconnect from mx11.rambler.ru[81.19.88.3]
root@bc /usr/local/etc/postfix]# postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
debug_peer_list = domen.ru
default_privs = nobody
disable_vrfy_command = yes
inet_interfaces = all
local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $alias_maps
mail_owner = postfix
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = domen.ru
myhostname = bc.domen.ru
mynetworks = 195.5.45.56, 192.168.25.0/24, 192.168.26.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
queue_directory = /var/spool/postfix
smtp_always_send_ehlo = yes
smtp_helo_timeout = 60s
smtp_mail_timeout = 60s
smtp_rcpt_timeout = 90s
smtpd_banner = $myhostname mail server
smtpd_client_restrictions = permit_mynetworks, check_client_access hash:$base/client_access
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 8
smtpd_helo_required = yes
smtpd_helo_restrictions = check_helo_access hash:$base/hello_access, permit_mynetworks, reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_hostname, permit
smtpd_recipient_restrictions = permit_sasl_authenticated, reject
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:$base/sender_access, reject_unknown_sender_domain, reject_unlisted_sender, reject_unverified_sender
smtpd_timeout = 120s
transport_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/transport.conf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/alias.conf
virtual_create_maildirsize = yes
virtual_gid_maps = static:1981
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysqlLookupMaps/domain.conf
virtual_mailbox_limit_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/quota.conf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/mailbox.conf
virtual_maildir_extended = yes
virtual_maildir_limit_message = "Sorry, the user's maildir has overdrawn his diskspace quota, please try again later"
virtual_minimum_uid = 1000
virtual_overquota_bounce = yes
virtual_uid_maps = static:1981
в логах следующие
Jan 8 12:56:54 bc postfix/smtpd[9868]: NOQUEUE: reject: RCPT from mx11.rambler.ru[81.19.88.3]: 554 5.7.1 <yuntikov@domen.ru>: Recipient address rejected: Access denied; from=<postmaster@mx11.rambler.ru> to=<yuntikov@domen.ru> proto=ESMTP helo=<mx11.rambler.ru>
Jan 8 12:56:54 bc postfix/smtpd[9868]: disconnect from mx11.rambler.ru[81.19.88.3]