Re: Is qfilter the correct tool for this job ( rewritting a *.local tld name )?

Joan Picanyol i Puig <[email protected]> Wed, 20 Jul 2005 01:17:01 +0200
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
* DH <[email protected]> [20050719 19:57]:
> I am looking for a way to rewrite the "From" header on
> mail originating from the Exchange box to change the
> non-routeable domain name to that of our External
> domain.   This should allow ( unless I'm missing
> something - which is intirely possible ;) the
> recipient  to "reply" to that message and have it sent
> back to our external server.
> 
> INET  -----    Qmail Gateway Box  ------  MS Exchange 
> 
> Destination <-Qmail + SomeFilter-< e-mail originates
>                   Rewrites FROM:  here with a SENDER  
>                                    of "[email protected]"
> 
> Such that:
> 
> to smith@???.com                   
> from [email protected]
> 
> becomes:
> 
> to smith@???.com                   
> from [email protected]
> 
> Have any ideas?

1.- Configure your MUA to set Reply-To: or From: properly 
2.- Use qtools + sed 

qvb
--
pica