12 messages in net.sourceforge.lists.courier-usersRe: [courier-users] destination based...
FromSent OnAttachments
VincentFeb 24, 2006 10:47 am 
Lindsay HaisleyFeb 24, 2006 10:55 am 
VincentFeb 27, 2006 5:06 am 
Lindsay HaisleyFeb 27, 2006 10:07 am 
Lindsay HaisleyFeb 27, 2006 10:31 am 
VincentMar 1, 2006 5:30 pm 
Gordon MessmerMar 2, 2006 11:59 am 
Jerry AmundsonMar 2, 2006 12:26 pm 
Sergiy ZhukMar 2, 2006 12:38 pm 
VincentMar 2, 2006 4:22 pm 
Francisco ReyesMar 2, 2006 8:55 pm 
Gordon MessmerMar 3, 2006 3:34 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] destination based domain masqueradingActions...
From:Lindsay Haisley (fmou@fmp.com)
Date:Feb 24, 2006 10:55:41 am
List:net.sourceforge.lists.courier-users

This is pretty much a MUA issue, not a MTA issue. If you use a MUA such as mutt (for Linux) that's capable of such things, you can set the From line to anything you like. I use mutt or evolution for most of my email, and ssmtp on my local desktop system which can be told to set the envelope mail-from address to whatever the body from header address is (which is why this post appears to come from "fmouse-courier" instead of just "fmouse".

Thus spake Vincent on Fri, Feb 24, 2006 at 12:47:31PM CST

Is there a way to get courier to do destination based masquerading? In other words, to append one domain to the from addresses if I send mail to a host in the local network, but another if the destination is outside the LAN.

So far as I can tell, it always appends the contents of the _me_ file to my from address.

For example: if I send mail to the outside world, I would like the from line to show us@domain.com. However, it I send mail from hosta to hostb on domain.com, I would like the from line to show us@hosta.domain.com. That way, if a user on hostb replies, it will be sent directly to hosta not to domain.com. If I send mail to the outside world, hosta.domain.com is usually not visible and replies must go to domain.com.