On 9/9/2015 9:56 AM, Stefan wrote: > Hi, > > currently iam migrating our old qmailtoaster to another mailserver. > > Ive already migrated some domains. Problem is that when the old > mailserver sends an email to an already migrated domain, it delivers > the mail locally instead of sending it out via smtp to the new > mailserver because the > account still exists. Ive disabled every access via vmoduser but that > didnt help and i dont want to delete every account until migration is > complete. > > Any ideas? > > It is safe to remove the domains from the file "rcpthosts" without > side effects? > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
