|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: mouss (mlist.only
free.fr)
Date: Mon Dec 10 2007 - 11:42:16 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
>
not giving information about your setup makes it hard to help you. so
I'll direct you to the documentation:
http://www.postfix.org/ADDRESS_REWRITING_README.html
In particular:
http://www.postfix.org/postconf.5.html#local_header_rewrite_clients
Also, see if smtp_generic_maps is not a better choice for you.
Things can get tricky when using a content filter. In this case, you can
separate the inbound and outbound flow (easy with amavisd-new).
you can also force outbound mail to go through a specific listener or
instance.
> Any advice appreciated, I can't seem to find the answer myself.
>
> Thanks in advance,
> Greg
>
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]