postfix, mysql and mail routing
I'm about to migrate an email server from netware's mercury to postfix. Of course, there's no tool available to convert the really weird mercury mailboxes to mdir or mbox format so what I want to do is run both servers together for a while and have the users manually merge their mailboxes through an email client.
The postfix server handles two separate domains and is all set up but I've got one problem to solve: The users that are to be considered local are entered in a mysql database and I can't create all users on the postfix system at once. So what I want is for the postfix system to do a lookup in the mysql database whether the users exists and if not have it not bounce the mail but send it on to the old netware mail server. Anybody got an idea how I would accomplish such a thing?
Thanks for any pointers,