Re: [Exim] why relaying?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeffrey Goldberg
日付:  
To: Torsten Curdt
CC: exim-users
題目: Re: [Exim] why relaying?
[mailed and posted]

On Mon, 19 Mar 2001, Torsten Curdt wrote:

> I defined
>
> relay_domains = domain.com
>
> and get
>
> refused relay (host) to <root@???> from <> H=(machine.domain.com) [*ip*]
>
> and have a rewriting rule
>
> *@*.domain.com $1@???
>
> Is this because relay checking happens before rewriting?


Yes. Relay checking happens very earily (as it should), while rewriting
only occurs well after the DATA has been received. Furthermore rewriting
generally just rewrites headers anyway, so wouldn't be relevant anyway.

What you need is

relay_domains = *.domain.com

Look at the examples of relay_domains in the documentation.


-j

--
Jeffrey Goldberg
I have recently moved, see http://www.goldmark.org/jeff/contact.html
Relativism is the triumph of authority over truth, convention over justice