Re: [exim] Using SRS

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Bowyer
Dátum:  
Címzett: exim users
Tárgy: Re: [exim] Using SRS
On 24/02/07, Luca Bertoncello <bertoncello@???> wrote:
> "Peter Bowyer" <peter@???> schrieb:
>
> > On 24/02/07, Luca Bertoncello <bertoncello@???> wrote:
> > > "Peter Bowyer" <peter@???> schrieb:
> > >
> > > > That should get you going. See experimental_spec,txt (online at
> > > > http://www.exim.org/eximwiki/SRS) for more options.
> > >
> > > Just a little question...
> > > I see, your example rewrites the E-Mail that are no forwarded, too...
> >
> > It rewrites everything that is routed by that router. If you need to
> > restrict what mail gets SRSd, either split your routers and only use
> > srs=forward on one of them, or use srs_condition to select which
> > messages get SRSd.
>
> I understand, but can you send me an example of how to use srs_condition?


Use it the same as a normal 'condition=' setting on a router. Check
the docs for that.

eg

srs_condition = ${if eq {$sender_address_domain} {mydomain.com}}

Peter

--
Peter Bowyer
Email: peter@???