免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix中,使用relay_domains 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-20 10:20 |只看该作者 |倒序浏览
10可用积分
relay_domains = tom.com,yahoo.com,sina.com
用outlook时,如果要回复,总要在这里添加一个域名..
不想这样使用啊..
能不能有什么办法啊..请求了...
________________________________________
[root@mail ~]# /usr/local/postfix/sbin/postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/local/postfix/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
daemon_directory = /usr/local/postfix/libexec
debug_peer_level = 2
html_directory = /var/www/postfix_html
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/postfix/man
message_size_limit = 29360128
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = aa.com.cn
myhostname = mail.aacom.cn
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = tom.com,yahoo.com,sina.com,163.com,126.com,hotmail.com,yahoo.ca,yahoo.com.cn,yahoo.cn,luminglight.com,gmail.com,sina.com.cn,proton-orel.ru,cj.net.cn,marsleds.com,intel.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
smtpd_recipient_restrictions = permit_sasl_authenticated,reject_non_fqdn_sender,reject_unauth_pipelining,reject_non_fqdn_recipient,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/mailbox
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 209715200
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop:
virtual_uid_maps = static:1001

[ 本帖最后由 yang1229 于 2009-3-20 10:55 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-03-22 22:14 |只看该作者
relay_domains 一般是用在backup mx server中
你需要的应该是smtp auth

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
3 [报告]
发表于 2009-03-24 08:08 |只看该作者
把relay_domains注释掉看看

论坛徽章:
0
4 [报告]
发表于 2009-03-24 08:35 |只看该作者
注释掉了就不好用了

论坛徽章:
0
5 [报告]
发表于 2009-03-27 10:35 |只看该作者
你是想实现什么功能?
relay_domains一般拿来做邮件服务器转发用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP