My current train on through is this: Have all incoming email terminate
on the Linux (Postfix) box. For users who have their account on the
Linux box itself, this will automatically work. For users who have their
account on the exchange server, I can use Postfix Virtual Aliases to
"forward" the mail to the account on the exchange box. The exchange box
would have to be set up with accounts that are non-accessible from
outside (e.g. us...@domain.local). Regarding access from outside, I'm
thinking of just placing the 2 servers in a DMZ, and using a single
static IP address, port forward 25 (SMTP), 110 (IMAP) to the Linux box
and and 443 (Outlook Anywhere) to the exchange box.
Does this sound like an acceptable solution?
yes. it is.
for delivery, you can use virtual aliases:
j...@example.com j...@exchange.example.com
if the exchange box wants j...@example.com, you can add
smtp_generic_maops entries to rewrite the address back:
j...@exchange.example.com j...@example.com
(This only works if the transport to exchange is "smtp", as the prefix
of smtp_generic_maps suggests!).
This approach is better than per user transports, because transport_maps
imply performance overhead (and also: transport_maps are global inside
a postfix instance, so you have less flexibility).
Hi mouss,
Thanks for that
Can you please explain why I would need to use smtp_generic_maps? I'm
not entirely sure of the use of it in this context.
Many Thanks