Hello, As a part of our existing mail setup we've got something like this :
Internet ==> MX ==> Server1 ==> Backend1 Internet <== Server1 <== Backend1 Backend1 handles SMTP authentication and is used as the end users' SMTP server in their MUAs whenever they want to send emails to anywhere (even internally). When sending, Backend1 forwards to Server1 which sends to the Internet or sends back to Backend1 if needed (dest on same domain). Server1 is an old release of Postfix which mostly handles virtual maps expansion and mailing lists, and then forward all messages to a different MTA (not Postfix) located on Backend1 which is the final destination. For a few users only, we are planning to have, in addition to the setup above : Internet ==> MX ==> Server1 ==> Backend2 Internet <== Server1 <== Backend2 Where Backend2 is a Debian Wheezy machine hosting Postfix 2.9.6 So we've modified our transports on Server1 to read something like : example.com relay:[Backend1-IP] newu...@example.com relay:[Backend2-IP] ... So incoming messages passing through Server1 and sent to any...@example.com are delivered to Backend1, excepted for the messages sent to newu...@example.com which are delivered to Backend2. So far so good, it works perfectly. But now we want 'newuser' to use Backend2 as his SMTP server to authenticate and send messages to anywhere. In particular we want that messages from "newu...@example.com" (migrated to Backend2) to "any...@example.com" (not migrated yet from Backend1 to Backend2) still pass through Server1. In fact, even a message from "newu...@example.com" to "newu...@example.com" should still pass through Server1. Unfortunately Postfix on Backend2 tries to deliver such messages locally, instead of forwarding them to Server1 first. Any idea how to achieve the desired result without creating any nasty loop ? FYI the transports map on Backend2 is empty On Backend2 mydestination is defined as : mydestination = example.com, backend2.example.com, localhost.localdomain, localhost The long term goal is to migrate all users, one at a time (upon request) from Backend1 to Backend2. Thanks in advance for any pointer or help. PS : of course the lists of migrated and not migrated yet users id and email addresses are known -- Jérôme Alet - <jerome.a...@univ-nc.nc> - Direction du Système d'Information Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 290081 Fax : +687 254829