root writes: > Here's the situation: > > We (compusense.com) have qmail running on our firewall, and it passes mail > to machine A which has the highest MX priority. Now machine A is > running Exchange and has given me so much > grief that machine A presently has a screwdriver embedded in the > motherboard, so we're not going to use machine A anymore. NT 5.0 Beta, right? > If I set up the new machine, change the DNS to reflect the fact I hate > Microsoft and give machine B the highest MX priority, when the machine > B comes on-line and I restart named, will qmail push all the mail in the > queue to machine B, or will it still try to get mail to machine A. > > Is it easier just to give machine B the same IP that machine A had? Or > will things just work with the new DNS setup. Qmail keeps things queued up based on the recipient's domain. Each time it tries to deliver, it looks up MX and A records. In order to redirect mail, you can do either of the following: 1) Put out a different MX record for the recipient's domain. 2) Put out a different IP address for the same A record to which the MX is pointing to. 3) Use control/smtproutes to flush all mail addressed to domain X to the IP address Y, irrespective of what DNS says.
