[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/

-- 
| This message was re-posted from debian-simplified-chinese@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: