Re: [Exim] rewrite configuration entry

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Harald Meland
CC: Jim Pazarena, exim-users
Assumpte: Re: [Exim] rewrite configuration entry
On Tue, 5 Aug 2003, Harald Meland wrote:

> [Jim Pazarena]
>
> > I strip away the machine name from all my email records like so:
> >
> > *@@  $1@PRIMARY_DOMAIN    fst
> > ....

> >
> > is there a way to preserve machine name for 1 user only? (root)
> > or in other words to *not* perform the rewrite for root ?
>
> Use a non-rewriting rewrite rule with the 'q' flag set the matches the
> exception(s) above your current rule.


Or even use the special feature of supplying a rewriting rule with "*"
as the replacement. See section 30.4.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book