Re: [EXIM] exim, subdomains, qualify_domain and majordomo

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Marc Haber
CC: exim-users
Assunto: Re: [EXIM] exim, subdomains, qualify_domain and majordomo
I just wrote:

> In either case, you could probably find some rewriting rule that helped.
> Something along the lines of
>
> *@*  "${if eq{$sender_address}{majordomo@$qualify_domain}\
>       {$1@???} fail}" flags


but I should have pointed out this paragraph from the spec:

The order in which header and envelope addresses are rewritten is undefined,
may change between releases, and must not be relied on. For example, the
replacement string for a header rewrite must not assume that the message's
envelope sender address has (or has not) already been rewritten.

which means that the above rewriting rule cannot be used to rewrite the
sender address and any other addresses. That is, the flags must either
just be F (to rewrite the sender, i.e. the envelope From field) or must
not contain F (to rewrite other addresses while testing the sender).

-- 
Philip Hazel                   University Computing Service,
P.Hazel@???          New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic)       England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***