Re-directing mail to external mail server

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re-directing mail to external mail server

Unread post by biggles »

One of my customers wants some fancy e-mail (collaboration, Outlook, calendar sharing push-mail etc)stuff and I have recommended Google Apps with their gmail client. They have a quite smart pilot system with dual-delivery of e-mail which makes it possible to have both the Plesk mail for the current users while the pilot users try out the new platform. There are two ways to implement this. On is to point all mail too Google and let them forward it to the old server. Not very good for a pilot in my mind. The other way is to let Plesk/qmail forward the mail for the domain to Google and deliver it to the Plesk mail server. The problem is that I really don't know how to do this. I have checked out a few blogs and FAQs about qmail but as soon as virtual domains come in they get a bit fuzzy.

Anyone have any suggestions of on how to copy all incoming mail for one domain to another server as well as to the current server?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Re-directing mail to external mail server

Unread post by mikeshinn »

Have you tried smtproutes? Example:

cd /var/qmail/control/

#cat smtproutes
example.com:1.2.3.4
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

Re: Re-directing mail to external mail server

Unread post by BruceLee »

biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: Re-directing mail to external mail server

Unread post by biggles »

Thanks a lot. Seems to be working great!
Post Reply