On Wed, Jun 15, 2011 at 11:19:33AM +0200, Frank Bonnet wrote: > INTERNET > | > | > MX SERVER > | > | > INTERNAL MAILHUB > | > | > USERS'S MUAs > > What I precisely wanted to do is : > > stop email flow between my mailhub and the MX server > but not stop internal email service for our users. > > Also I would like the MX server still accept incoming > emails from the Internet and keep them in its queue > to deliver later when I restart normal service.
If the internal mailhub is running Postfix, and uses a dedicated transport (say "smtp" rather than "relay") to reach the MX server, while all internal traffic uses other transports ("relay" or "virtual" or "local", ...) then on the internal hub just set defer_transports = <transport-to-the-mx-server> Likewise, if the mx server is running Postfix, and uses a dedicated transport (say "relay" rather than "smtp") to reach the internal hub, while all outbound traffic uses other transports (say "smtp") then on the mx server just set defer_transports = <transport-to-the-internal-hub> Dedicating different transports to separate directions of mail flow is a good idea anyway, so if that is not the case, make it so, and then apply the above. -- Viktor.