On 05/05/2010 17:42, Victor Duchovni wrote:
On Wed, May 05, 2010 at 04:21:37PM +0100, Simon Croome wrote:
We are replacing sendmail as our MTA to Postfix and our internal mail relay
receives mail from our edge MTA server<#> in the DMZ, once mail is
received then any email address to a staff member for instance :<first
name>.< last name>@example.com is sent to a Lotus Notes server, and any
other email<#> < whatever>@example.com is sent to our OCS server.
We have had a rule in our sendmail configuration that has been able to do
this for many years but I cannot seem to find any examples on how this can
be done in postfix.
Someone on another forum suggested that you achieve this in postfix using
the transport file, but could any one give me an example how to get this
working ?
http://www.postfix.org/ADDRESS_REWRITING_README.html
You can rewrite addresses to a recipient-dependent internal domain,
which is then routed to the right mail-store, or use per-user transport
tables.
I recommend the first approach on architectural grounds, but the second
is easier to implement in some cases.
Could someone give me example of this pls. ?