Re: [Exim] why relaying?

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeffrey Goldberg
Data:  
A: Torsten Curdt
CC: exim-users
Assumpte: 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