|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Mon Dec 10 2007 - 11:32:14 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Dec 10, 2007 at 12:21:09PM -0500, Greg Cowie wrote:
> System - postfix 2.4.1 running on Fedora Core 4
>
> If anyone could suggest a course of action, it would be greatly
> appreciated. I think I've done my homework, but I'm hoping that I've
> just overlooked something in the documentation/group archives/google -
> maybe my terms aren't cannon.
>
> I want to rewrite the domain on outgoing email iff it matches one of our
> domains (basically rebranding our outgoing email without reconfiguring
> each of 300+ email clients), but I don't want to rewrite the domain name
> if the email is NOT from inside our network. I'm able to set up the
> rewriting using a canonical map, but this seems to be an all or nothing
> proposition. Is there any way to rewrite the domain name on any mail
> originating from mynetworks, and not rewrite the same domain if it
> originates outside of mynetworks?
The simplest case is when it is safe to assume that outbound mail is
from inside your network, and inbound mail is not. In that case, use
the "relay" transport for inbound destinations (or deliver locally)
and use "smtp" for outboud traffic. In master.cf turn on generic(5)
rewriting for "smtp" only and not for "relay".
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]