免费注册 查看新帖 |

Chinaunix

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

[Mail] redhat extmail 不能收邮件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-15 11:08 |只看该作者 |倒序浏览
postfix log:

Aug 15 11:04:18 localhost postfix/trivial-rewrite[29044]: warning: do not list domain minnantv.net in BOTH mydestination and virtual_mailbox_domains
Aug 15 11:04:18 localhost postfix/local[29047]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Aug 15 11:04:18 localhost postfix/local[29047]: D32D292C663: to=<ori@minnantv.net>, relay=local, delay=0.06, delays=0.03/0.02/0/0.01, dsn=5.1.1, status=bounced (unknown user: "ori")
Aug 15 11:04:18 localhost postfix/cleanup[29043]: E4A6E92C664: message-id=<20080815150418.E4A6E92C664@mail.minnantv.net>
Aug 15 11:04:18 localhost postfix/qmgr[3478]: E4A6E92C664: from=<>, size=2300, nrcpt=1 (queue active)
Aug 15 11:04:18 localhost postfix/trivial-rewrite[29044]: warning: do not list domain minnantv.net in BOTH mydestination and virtual_mailbox_domains
Aug 15 11:04:18 localhost postfix/bounce[29049]: D32D292C663: sender non-delivery notification: E4A6E92C664
Aug 15 11:04:18 localhost postfix/qmgr[3478]: D32D292C663: removed
Aug 15 11:04:18 localhost postfix/local[29047]: E4A6E92C664: to=<liang@minnantv.net>, relay=local, delay=0.03, delays=0.02/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 15 11:04:18 localhost postfix/qmgr[3478]: E4A6E92C664: removed


25 和 110 口能登录    DNS是 没问题的

[ 本帖最后由 liang3391 于 2008-8-15 11:32 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-08-15 12:47 |只看该作者
Aug 15 11:04:18 localhost postfix/trivial-rewrite[29044]: warning: do not list domain minnantv.net in BOTH mydestination and virtual_mailbox_domains


你的main.cf的参数是咋样的啊? 贴出来看看。

先解决以上那句: main.cf里的mydestination参数和maps的virual_mailbox_domains关于你邮件服务器域名重复了。


Aug 15 11:04:18 localhost postfix/local[29047]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled


用postconf | grep nis找出main.cf里有关NIS的参数,然后注释掉。

[ 本帖最后由 恋夏寒 于 2008-8-15 12:50 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2008-08-15 13:40 |只看该作者

这是 vi /etc/postfix/main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/local/postfix/sbin
daemon_directory = /usr/local/postfix/libexec
mail_owner = postfix
myhostname = mail.minnantv.net
mydomain = minnantv.net
myorigin = minnantv.net


mynetworks = 192.168.0.0/24, 127.0.0.0/8
debug_peer_level = 2
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = /var/www/postfix_html
manpage_directory = /usr/local/postfix/man
sample_directory = /etc/postfix

readme_directory = no

############################CYRUS-SASL############################
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_sasl_application_name = smtpd
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available

########################Virtual Mailbox Settings########################
virtual_mailbox_base = /var/mailbox
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:2525
virtual_gid_maps = static:2525
virtual_transport = virtual
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
##########################QUOTA Settings########################
message_size_limit = 14336000
virtual_mailbox_limit = 20971520
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please Tidy your mailbox and try again later.
virtual_overquota_bounce = yes

[ 本帖最后由 liang3391 于 2008-8-15 14:03 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-08-15 13:57 |只看该作者
mydestination
mydestination = $myhostname

就够了。

你运行 "postconf | grep nis"  把结果贴出来看看。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP