[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HOW-TO report a bug?



On Mon, Jul 10, 2000 at 05:39:18AM +0800, zhaoway wrote:
[ 上文: /etc/exim.conf 用 rewrite rule... ]
> Anthony Fok wrote:
> > Actually, it may not be so "heavy metal"... It is probably a common
> > setting used by many people.  That's my speculation anyway.  :-)
> 
> Surely in the Debian community.. just not that ``common''
> for just to send out an email for anyone else. :-)

  不是这个。如果你用 /usr/sbin/eximconfig 把你的系统配置为
Satellite system 的话,eximconfig 会自动为你加上 Rewrite rules,
因为这是必须的,除非你把你的 hostname 改成和你的 ISP 一样。

  我刚刚执行了 /usr/sbin/eximconfig,选了 Satellite system,
答完所有问题后,就自动为 /etc/exim.conf 写出了以下的 rewrite rule:

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################

# These rewriters make sure the mail messages appear to have originated
# from the real mail-reading host.

^(?i)(root|postmaster|mailer-daemon)@lovelife.olvc.ab.ca ${1}@in.limbo Ffr
*@lovelife.olvc.ab.ca ${1}@ualberta.ca Ffr
^(?i)(root|postmaster|mailer-daemon)@localhost ${1}@in.limbo Ffr
*@localhost ${1}@ualberta.ca Ffr
*@in.limbo foka@ualberta.ca Ffr


# This rewriting rule is particularly useful for dialup users who
# don't have their own domain, but could be useful for anyone.
# It looks up the real address of all local users in a file

*@lovelife.olvc.ab.ca    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} bcfrF

这里,

	我的				你的
	lovelife.olvc.ab.ca	=	thunder
	ualberta.ca		= 	zhaoway.com

> BTW, I have used smail, sendmail, exim, ... hehe...
> but think this you're running a daemon listne on a port
> just because you wanna send out some bug report (general
> email is no problem...) ... and anyways, i just wonder
> why the manpage is not in a consistency with the executive...
> (it says that can follow the EMAIL env..., or --email opt...)

  你没有用 mutt... 我相信你平时寄信一直用 Netscape,而
你的 Netscape 是配置为直接跟你 ISP 的 SMTP 服务器沟通,跟本
不经过你自己安装的 smail/sendmail/exim 处理,所以你平常寄信
才没有遇上问题。

  这个是完全不关 EMAIL env 和 --email 的事啦。只是收信者的
mail server 见到你寄出的信件的_两个_ "From" 栏目不符,
一个(exim 自己加的)说 zw@thunder,另一个(bug/report/mutt 加的)
说 zw@zhaoway.com。也可能是自动侦测到 @thunder 不是正规的
domain name,所以当作错误、或 spam,自动反弹不收。这方面,
一般的 mail client 也无法解决。

  当然,如果你不想用 rewrite rules,可以直接把你的 hostname
从 thunder 改为 zhaoway.com,但这次乎不是正规的方法,可能会有
副作用。

  这些都是所有自己没有 domain name 的 GNU/Linux、*BSD 拨号用户
都要处理的问题吧,不是 Debian 系统存心挖苦你的! ^_^

					东东

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
Debian Chinese Project -- http://www.debian.org/international/chinese/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/



Reply to: