免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2677 | 回复: 3
打印 上一主题 下一主题

[服务应用] postfix反向解析问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-01-17 11:08 |只看该作者 |倒序浏览
我们公司建立了一台postfix服务器,发送接收163、新浪、qq的邮件都没问题。

但是,我们有几个客户的邮件服务器没有ip反解,postfix又要求ip反向解析,

所以我们的服务器就不能接收客户的邮件。

请问怎么设置postfix不检查其他邮件域的ip反解。

论坛徽章:
0
2 [报告]
发表于 2014-01-18 08:05 |只看该作者
本帖最后由 liou146 于 2014-01-18 08:20 编辑

smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unauth_destination,
        reject_unauth_pipelining,
        reject_invalid_hostname,
        check_policy_service inet:127.0.0.1:10030


以上是我的main.cf配置,楼主把你的贴出来,再分析原因。

论坛徽章:
0
3 [报告]
发表于 2014-01-23 12:45 |只看该作者
queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

data_directory = /var/lib/postfix

mail_owner = postfix

inet_interfaces = localhost

inet_protocols = all

mydestination =

unknown_local_recipient_reject_code = 550

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

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


sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.6.6/samples

readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
inet_interfaces = all
mynetworks = 127.0.0.0/8
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
smtpd_sasl_path = smtpd
virtual_mailbox_base = /var/spool/mail/
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:89
virtual_gid_maps = static:89
virtual_minimum_uid = 88
virtual_transport = virtual
message_size_limit = 69120000
virtual_mailbox_limit = 79120000
smtpd_peername_lookup = no
disable_dns_lookups = yes

论坛徽章:
0
4 [报告]
发表于 2014-01-23 12:57 |只看该作者
日志是NOQUEUE: reject: RCPT from unknown[58.240.167.94]: 504 5.5.2 <mail>: Helo command rejected: need fully-qualified hostname; from=<....> to=<...> proto=SMTP helo=<mail>

怎么设置能收到
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP