On 2/14/2011 8:39 AM, Scott Fitzhugh wrote:
I am new to Postfix and am wondering something about Postfix.
Currently, all our email comes into 2 Proofpoint appliances. Email
that passes through goes straight to the Groupwise Internet Agent
(GWIA), which distributes the email where it needs to go within our
email system.
We are switching to a cloud email system. In the transition period,
we'd like all email to go to both places, but not forwarded.
Is it possible to use Postfix in the middle somewhere to send email to
two different locations?
Thanks in advance,
Scott Fitzhugh
To delivery mail to two locations, you need two recipients.
In postfix, you can do this with virtual_alias_maps.
You'll need a list of valid recipients.
# main.cf
relay_domains = example.com
virtual_alias_maps = hash:/etc/postfix/virtual_alias
transport_maps = hash:/etc/postfix/transport
smtp_generic_maps = hash:/etc/postfix/generic
# virtual_alias
o...@example.com o...@old.example.com o...@new.example.com
t...@example.com t...@old.example.com t...@new.example.com
... all users listed ...
# transport
old.example.com relay:[ip.of.old.server]
new.example.com relay:[ip.of.new.server]
# generic
@old.example.com @example.com
@new.example.com @example.com
http://www.postfix.org/documentation.html
-- Noel Jones