[Mimedefang] ReWrite Sender Address?

Dan Tulovsky Dan.Tulovsky at aa-rf.com
Fri Nov 12 17:12:42 EST 2004


You should be able to do this in sendmail.  Try this on the second
system in the config.mc file:

MASQUERADE_AS(domain.com)dnl
FEATURE(masquerade_envelope)
MASQUERADE_DOMAIN(domain.int) 

I think that should do it.

Dan


> -----Original Message-----
> From: mimedefang-bounces at lists.roaringpenguin.com 
> [mailto:mimedefang-bounces at lists.roaringpenguin.com] On 
> Behalf Of Jason Granat
> Sent: Friday, November 12, 2004 5:01 PM
> To: mimedefang at lists.roaringpenguin.com
> Subject: [Mimedefang] ReWrite Sender Address?
> 
> Hello,
> 
> I have an interesting problem I am trying to solve. I am 
> doing some experimenting on my internal network that has a 
> couple mail servers. For the sake of a long winded 
> explanation I force one of the servers (named
> mail.domain.int) to send all it's mail thru the second server 
> (named mail.domain.com). On the second server I am running 
> MIMEDefang and I would like to have a rule that rewrites the 
> sender from mail coming from the internal server so the 
> return address changes from user at domain.int to 
> user at domain.com. Can I do this? Can someone tell me how?
> 
> Thanks!
> 
> 
> --
> Jason Granat
> akota sensory arts
> http://www.akota.com
> 
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca 
> MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 




More information about the MIMEDefang mailing list