Hi there.
Is it possible to have hybrid mail systems with some users on courier and
some on another mail server for the same domain?

I have a domain handled by Google Apps (gmail).
Some of the users in that domain want to use a legacy mail server
(courier) instead of google, so I would need split delivery, as documented
by google (https://support.google.com/a/answer/119008):

<quote>
If some users use Gmail and others use their legacy accounts, you can have
mail delivered to a Gmail account or a legacy mail account depending on
the recipient. This option is called split delivery...
</quote>

So I'm ending up with a domain where non existent email addresses in
google are routed to my custom courier server
(https://support.google.com/a/answer/173534 -> directly to my courier ip,
no mx record).

My problem is: if I add this domain as locally-hosted domain, people using
courier cannot send mails to other people of the same domain running in
google apps.

Example:
- mx for mydomain.com points to google;
- us...@mydomain.com is defined in google;
- us...@mydomain.com is defined in courier;
- google is configured for split delivery, routing mails for
us...@mydomain.com to courier;
- us...@mydomain.com (courier) wants to write a mail to us...@mydomain.com
(google). It FAILS because us...@mydomain.com does not exists (because is
defined in google).

So, I'm trying to do the reverse, handling split delivery on courier, but
I cannot find a good way to do this.

The only solution I've found is:
1- create all users for this domain in courier
2- point the mx record to courier to receive mails
3- write some maildrop rules to forward desired mails to google via an
external mta xfilter (because maildrop cannot forward mails to custom smtp
servers without using mx records).

Is there a better way?
Thank you so much!

-- 
Dino Ciuffetti
Linux System Administrator and IT Architect
TuxWeb S.r.l. - http://www.tuxweb.it/



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to