FreeBSD+postfix
Есть 2 домены xxx.com and yyyy.com
xxx.com живет локально на машине
yyyy.com перенаправляется на внутренний почтовый сервак.
вот с первым проблема, почта приходит и ложится в очередь и без локальной доставки.
Подскажите плиз куда смотреть. Конфиг привожу ниже.
Спасибо.
- soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
default_privs = nobody
#myhostname = yyy.com
myhostname = yyy.com
mydomain = yyy.com
myorigin = $myhostname
myorigin = $mydomain
inet_interfaces = all
mydestination =
local_recipient_maps =
unknown_local_recipient_reject_code = 550
mynetworks_style = class
mynetworks_style = subnet
mynetworks_style = host
mynetworks = 195.39.123.188/30, 195.39.123.228/30, 10.186.0.0/16, 10.40.0.0/16, 127.0.0.0/8
relay_domains =
relayhost =
relay_transport = relay
hopcount_limit = 30
relay_recipient_maps = $alias_maps
in_flow_delay = 10s
mydestination = $myhostname, $mydomain, yyy.ua
transport_maps = hash:/usr/local/etc/postfix/transport
transport_database = hash:/usr/local/etc/postfix/transport.db
alias_maps = hash:/usr/local/etc/postfix/aliases
alias_database = hash:/usr/local/etc/postfix/aliases.db
recipient_delimiter =
home_mailbox =
mail_spool_directory = /var/mail
mailbox_command =
mailbox_transport =
fallback_transport =
luser_relay = postmaster
header_checks =
fast_flush_domains = $relay_domains
smtpd_banner = yyy - UA $myhostname ESMTP
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 20
debug_peer_level = 2
debug_peer_list = some.domain
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
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
message_size_limit = 20480000
default_destination_recipient_limit = 30
default_destination_recipient_limit = 30
smtpd_client_recipient_rate_limit = 30
smtpd_client_restrictions =
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_destination,
check_client_access hash:/usr/local/etc/postfix/access,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,
permit_mynetworks
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_sender_restrictions =
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit_mynetworks
disable_dns_lookups = no
disable_vrfy_command = yes
tls_random_bytes = 32
tls_random_source = dev:/dev/urandom
smtpd_use_tls = no
smtpd_tls_CApath = /etc/mail/cert
smtpd_tls_CAfile =
smtpd_tls_cert_file =
smtpd_tls_key_file =
smtpd_tls_security_level = may
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtp_use_tls = no
smtp_tls_security_level = may
smtp_tls_mandatory_protocols = TLSv1
smtp_tls_CApath = /etc/mail/cert
smtp_tls_CAfile =
smtp_tls_cert_file =
smtp_tls_key_file =
smtp_tls_note_starttls_offer = yes
smtp_tls_loglevel = 2
smtp_tls_policy_maps = hash:/usr/local/etc/postfix/tls
lmtp_use_tls=no
local_command_shell =
local_transport = virtual
local_header_rewrite_clients = permit_inet_interfaces
qmgr_clog_warn_time = 300s
qmgr_fudge_factor = 100
qmqpd_authorized_clients =
qmqpd_error_delay = 1s
qmqpd_timeout = 600s
queue_directory = /var/spool/postfix
queue_file_attribute_count_limit = 100
queue_minfree = 0
queue_run_delay = 1000s
queue_service_name = qmgr
inet_protocols = ipv4
allow_mail_to_commands = alias,forward,include
canonical_classes = envelope_recipient
recipient_canonical_maps = hash:/usr/local/etc/postfix/canonical
append_at_myorigin=yes