免费注册 查看新帖 |

Chinaunix

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

[Mail] qmail转发问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-11 12:03 |只看该作者 |倒序浏览
举例:unix.domain.com为qmail服务器ip地址是公网的,所有MX记录在这台服务器上.
windows.domain.com为merak mailserver使用的是内网IP地址.如何使qmail收到的邮件自动转发到windows这台服务器上.因为用户通过内网服务器来接收邮件的.
我现在是这么配置的
echo "tigergroup.com.cn:210.13.112.29" /var/qmail/control/smtproutes
现在qmail并没有转发而是直接本地接收了,怎么回事情啊。

论坛徽章:
0
2 [报告]
发表于 2006-12-11 12:05 |只看该作者

回复 1楼 bootsteven 的帖子

这是我的qmail所有配置信息
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 509.
subdirectory split: 23.
user ids: 500, 501, 502, 0, 503, 504, 505, 506.
group ids: 501, 502.
badhelo: (Default.) Any HELO host name is allowed.
badmailfrom: (Default.) Any MAIL FROM is allowed.
badmailfromnorelay: (Default.) Any MAIL FROM is allowed.
badmailto: (Default.) No RCPT TO are specifically denied.
badmailtonorelay: (Default.) No RCPT TO are specifically denied.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mail.tigergroup.com.cn.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is tigergroup.com.cn.
defaulthost: (Default.) Default host name is mail.tigergroup.com.cn.
doublebouncehost: (Default.) 2B recipient host: mail.tigergroup.com.cn.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.tigergroup.com.cn.
helohost: SMTP client HELO host name is mail.tigergroup.com.cn.
idhost: (Default.) Message-ID host name is mail.tigergroup.com.cn.
localiphost: (Default.) Local IP address becomes mail.tigergroup.com.cn.
locals:
Messages for mail.tigergroup.com.cn are delivered locally.
me: My name is mail.tigergroup.com.cn.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is com.cn.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800
seconds.
rcpthosts:
SMTP clients may send messages to recipients at mail.tigergroup.com.cn.
SMTP clients may send messages to recipients at tigergroup.com.cn.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.tigergroup.com.cn.
smtproutes:
SMTP route: tigergroup.com.cn:mail.tigertech.com.cn
spfbehavior: The SPF behavior is 3.
spfexp: (Default.) The SPF default explanation is: 550 See
http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR}.
spfguess: (Default.) The guess SPF rules are: .
spfrules: (Default.) The local SPF rules are: .
spamt/spamt.cdb: (Default.) No effect.
timeoutconnect: SMTP client connection timeout is 120 seconds.
timeoutremote: SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: tigergroup.com.cn:tigergroup.com.cn
dh512.pem: I have no idea what this file does.
rcpthosts.lock: I have no idea what this file does.
defaultdelivery: I have no idea what this file does.
servercert.pem: I have no idea what this file does.
dh1024.pem: I have no idea what this file does.
rsa512.pem: I have no idea what this file does.
virtualdomains.lock: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
locals.lock: I have no idea what this file does.
clientcert.pem: I have no idea what this file does.

论坛徽章:
0
3 [报告]
发表于 2006-12-11 12:10 |只看该作者

回复 1楼 bootsteven 的帖子

@40000000457cd5cf0d541df4 info msg 3063995: bytes 10915 from
<steven.guo@tigertech.com.cn> qp 4022 uid 89
@40000000457cd5cf0ff61134 starting delivery 1: msg 3063995 to local
tigergroup.com.cn-test2@tigergroup.com.cn
@40000000457cd5cf0ff61904 status: local 1/10 remote 0/20
@40000000457cd5cf11cfaf4c delivery 1: success: did_0+0+1/
@40000000457cd5cf11cfb71c status: local 0/10 remote 0/20
@40000000457cd5cf12394a74 end msg 3063995


40000000457cd5cf0993d9d4 CHKUSER accepted rcpt: from
<steven.guo@tigertech.com.cn::> remote
<mail.tigertech.com.cn:unknown:210.13.112.30> rcpt
<test2@tigergroup.com.cn> : found existing recipient
@40000000457cd5cf0d7d1e0c tcpserver: end 4020 status 0
@40000000457cd5cf0d7d645c tcpserver: status: 0/20

论坛徽章:
0
4 [报告]
发表于 2006-12-11 15:08 |只看该作者

回复 3楼 bootsteven 的帖子

host:relay
tigergroup.com.cn:mail.tigergroup1.com.cn
将任何定义到tigergroup.com.cn的消息重新定向到特定的邮件服务器mail.tigergroup1.com.cn上。可是现在这个策略并没有被启用啊。
我已经服试用了qmailctl  restart了

论坛徽章:
0
5 [报告]
发表于 2006-12-13 11:02 |只看该作者
就是配置smtproute这个文件啊.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP