Postfix Centos7

Postfix Centos7

我有 2 个域名托管在同一个服务器上。

例如:域 A 和域 B

域 A 使用 Google Apps 邮件服务器

域 B 使用服务器电子邮件(使用 postfix)

我可以从域 B 向 gmail 帐户发送电子邮件,也可以从域 A 和 gmail 帐户接收电子邮件。但是域 A 无法接收从域 B 发送的电子邮件。

由于域 A 使用外部电子邮件,我停用了“在此域上激活邮件服务”,在邮件日志中收到以下消息


10月24日 23:16:50 ns532829 postfix/smtp[19312]: 4A9E1538047A: to=, reply=none, delay=139198, delays=139168/0.01/30/0, dsn=4.4.1, status=deferred (连接到 mail.domain.com[XXX.XX.XX.XXX]:25: 连接超时)

如果我在域 A 上激活“在此域上激活邮件服务”,则错误将类似于“收件人地址被拒绝:虚拟邮箱表中的用户未知”

请帮忙!提前致谢!

别名数据库 = 哈希:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
命令目录 = /usr/sbin
配置目录 = /etc/postfix
daemon_directory = /usr/libexec/postfix
数据目录 = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
disable_vrfy_command = 是
home_mailbox = Maildir/
html_directory = 否
inet_interfaces = 全部
inet_protocols = 全部
mail_owner = postfix
邮箱大小限制 = 0
mailman_destination_recipient_limit = 1
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
消息大小限制 = 1024000
我的目的地 =
mydomain = domainB.com
myhostname = mail.domainB.com
我的网络 = 168.100.189.0/28, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
plesk_virtual_destination_recipient_limit = 1
队列目录 = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
中继域 =
样本目录 = /usr/share/doc/postfix-2.10.1/samples
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_send_xforward_command = 是
smtp_tls_security_level = 可能
smtp_use_tls = 否
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_client_restrictions = permit_mynetworks,permit_sasl_authenticated
smtpd_milters =,inet:127.0.0.1:12768
smtpd_proxy_timeout = 3600s
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = 是
smtpd_sasl_security_options = noplaintext
smtpd_sender_restrictions = check_sender_access 哈希:/var/spool/postfix/plesk/blacklists,permit_sasl_authenticated
smtpd_timeout = 3600s
smtpd_tls_auth_only = 是
smtpd_tls_cert_file = /etc/pki/XXXX.pem
smtpd_tls_ciphers = 中等
smtpd_tls_exclude_ciphers = aNULL
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_mandatory_ciphers = 中等
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
smtpd_tls_protocols = SSLv3,TLSv1
smtpd_tls_security_level = 可能
smtpd_use_tls = 是
tls_medium_cipherlist = HIGH:!aNULL:!MD5
transport_maps = ,哈希:/var/spool/postfix/plesk/transport
未知本地收件人拒绝代码 = 550
virtual_alias_maps = $virtual_maps,哈希:/var/spool/postfix/plesk/virtual
virtual_gid_maps = 静态:31
虚拟邮箱库 = /var/qmail/邮件名称
virtual_mailbox_domains = $virtual_mailbox_maps, 哈希:/var/spool/postfix/plesk/virtual_domains
虚拟邮箱限制 = 0
virtual_mailbox_maps = ,哈希:/var/spool/postfix/plesk/vmailbox
虚拟传输 = plesk_virtual
virtual_uid_maps = 静态:30
postconf:警告:/etc/postfix/main.cf:未使用的参数:tls_ssl_options=NO_COMPRESSION

相关内容