[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:
> 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.)


After consulting the info I created this (I haven't found address
and exim barked on it):

   matej@@ "${if match {cepl@???}{$header_from:} \
                  {cepl@???}fail}" Fsq
   ceplova@@ ceplova@??? frFsq


There is nothing interesting in syslog for this, but then exim
apparently doesn't do any rewriting at all, because message goes
with envelope from matej@???, which gets rejected
by ISP smarthost.

Any thoughts?

        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