Hi All,

I have used abc.com ( Example ) domain emails to relay directly to one
exchange server by
mentioneing the same in transports file. and all other domain mails
should be relayed to another defualt relay server which i mentioned on
main.cf file .


The problem here is when iam sening email to abc.com.cn also it is
trying to relay to exchange server which is mentioned in transports
file...


Transport file is as below


/abc.com/ smtp:[IP Address of exchange server]


Can anybody help here...

My postfix Configuration looks below


#postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
default_process_limit = 200
disable_dns_lookups = yes
disable_vrfy_command = yes
fast_flush_purge_time = 1d
html_directory = no
local_destination_concurrency_limit = 4
local_header_rewrite_clients = static:all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
masquerade_classes = envelope_sender, envelope_recipient,
header_sender, header_recipient
masquerade_domains = examples.com
maximal_backoff_time = 1200s
maximal_queue_lifetime = 1d
message_size_limit = 40960000
mydestination = $myhostname, $mydomain
mydomain = example.com
myhostname = testserver
mynetworks = $config_directory/mynetworks
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
parent_domain_matches_subdomains =
debug_peer_list,fast_flush_domains,
mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,
smtpd_access_maps
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = mail.example.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_connect_timeout = 120s
smtp_helo_timeout = 60s
smtp_host_lookup = native
smtpd_data_restrictions =
reject_unauth_pipelining,                          permit
smtpd_hard_error_limit = 10
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_non_fqdn_sender,
permit_mynetworks,     reject_unauth_destination
smtpd_sender_restrictions = permit_mynetworks
smtpd_soft_error_limit = 5
transport_maps = regexp:/etc/postfix/transports


***************************************************************************­******************


Thanks in advance


Regards,
Kalyan

-- 
View this message in context: 
http://old.nabble.com/Problem-when-sending-to-suffix-domians-%28-example-%3A-abc.com.cn-%29-tp33713272p33713272.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to