On Tue, Dec 02, 2003 at 05:05:15PM -0000, [EMAIL PROTECTED] wrote: > Hi, > > I'm just getting set up with dbMail, I will be moving my organisations' > mail from 'traditional' Sendmail with .mbx files to a new server > configured with dbMail + postfix + PostgreSQL. > > The new server is working fine, and my test account is happy receiving & > sending mail, so I now want to start migrating users. My problem is I > don't want to move all the users in one go, so for a while I will have my > domain residing across two servers. I want to configure dbMail / postfix > such that any mail for any users in my domain who do not exist in dbMail > is forwarded to the old mail server rather than being bounced with a > 'Delivery Failure'. > > Obviously mail for other domains sent via the new server wants to be > relayed direct to it's destination rather than being forwarded to the old > server. > > How do I bet achieve this, any suggestions?
Does your postfix install have postgresql support? I don't know the syntax (I'm an exim user), but the general idea would be to (in exim nomenclature) have a router that looks up an address in the aliases table and if not found, set the routing information for the address to the old server and deliver using your smtp transport. Addresses that are found would fall through to your dbmail delivery router. Hopefully, that will give you some ideas about how to implement something similar in your postfix environment. xn
