[Exim] Replacing envelope sender

Top Page
Delete this message
Reply to this message
Author: David Saez
Date:  
To: exim-users
Subject: [Exim] Replacing envelope sender
Hi !!

I'm trying to replace the envelope sender by one extracted from the
header From: line when the envelope sender is 'apache@???' so I
configured the remote smtp transport like this:

remote_smtp:
  driver = smtp
  return_path = ${if and { {eq{$return_path}{apache@???}} \
                           {def:h_from:} } {${address:$h_from:}}{fail} }


messages received by recipients had the return path set from the
From: header but bounces, return receipts and vacation messages are
still sent to apache@??? insted to the address defined in the
return path. Is there any way to avoid this ?

--
Thanx & best regards ...

I know Karate, Kung Fu, and 47 other dangerous words

----------------------------------------------------------------
   David Saez Padros                http://www.ols.es
   On-Line Services 2000 S.L.       e-mail  david@???
   Pintor Vayreda 1                 telf    +34 902 50 29 75
   08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------