[Exim] Re: Re: Re: NB: return-path problem

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Matej Cepl
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Re: Re: Re: NB: return-path problem
Andreas Metzler wrote:

> No nicer ones, reformulating your suggestion in exim-filter
> syntax to a string expansion seems to work, as far as my
> limited testing shows.
>
> matej@@ "${if eq {cepl@ISPdomain}{${address:$header_from:}} \
>               {cepl@ISPdomain}fail}" Fs

>
> i.e. if envelope from/sender is matej@primary hostname check
> whether the address in the From:-header is cepl@ISPdomain and
> rewrite it to cepl@ISPdomain, do nothing (fail) otherwise.
> (Paranoia setting would use ${lc:...} on the domain.)
>                cu andreas


And can I put all this stuff into rewriting rule? I haven't found
any info on that ...? Is this v. 4.* specific (this is 3.35)?

Matej

- --
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488