Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Mail lists, gmail servers in mx and local users issue

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


velvetpixel at gmail

Nov 23, 2009, 10:33 AM

Post #1 of 5 (770 views)
Permalink
Mail lists, gmail servers in mx and local users issue

Our mail is hosted at gmail.

Our mail server sends our mailing lists using Exim.

Our domain is example.com

If joe [at] example is on one of the mailing lists he does not receive
the mail as it is trying to deliver the mail locally rather than
sending to the gmail mailserver listed in the mx.

How can I fix this?

Thanks!
Cameron

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


nipsy at bitgnome

Nov 23, 2009, 11:07 AM

Post #2 of 5 (725 views)
Permalink
Re: Mail lists, gmail servers in mx and local users issue [In reply to]

On 23 Nov 2009, Cameron Smith wrote:
> Our mail is hosted at gmail.
>
> Our mail server sends our mailing lists using Exim.
>
> Our domain is example.com
>
> If joe [at] example is on one of the mailing lists he does not receive
> the mail as it is trying to deliver the mail locally rather than
> sending to the gmail mailserver listed in the mx.
>
> How can I fix this?

You could add a router towards the top of your list of
routers that looks something like:
---
smarthost:
driver = manualroute
route_list = example.com aspmx.l.google.com:alt1.aspmx.l.google.com:alt2.aspmx.l.google.com:aspmx2.googlemail.com:aspmx3.googlemail.com
transport = remote_smtp
---

That should work I think assuming you want everything destined
for example.com on this mail server to route through your Google
Apps accounts. This particular router should probably be at the
top of your list of routers since they are processed in order.

--
Mark Nipper
nipsy [at] bitgnome (XMPP)
+1 979 575 3193
-
Meatloaf Helmet
|
This is a helmet made out of meatloaf. You feel like a Bat out of
Hell when you wear it. You would do anything for this helmet
(but you won't do that.)
|
-- fat loot from The Kingdom of Loathing RPG

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


peter at bowyer

Nov 23, 2009, 11:31 AM

Post #3 of 5 (729 views)
Permalink
Re: Mail lists, gmail servers in mx and local users issue [In reply to]

2009/11/23 Cameron Smith <velvetpixel [at] gmail>:
> Our mail is hosted at gmail.
>
> Our mail server sends our mailing lists using Exim.
>
> Our domain is example.com

I doubt it, but anyway...

> If joe [at] example is on one of the mailing lists he does not receive
> the mail as it is trying to deliver the mail locally rather than
> sending to the gmail mailserver listed in the mx.
>
> How can I fix this?

Assuming you want no addresses at your domain to be treated as local
by your Exim MTA, take your domain name out of the 'local_domains'
domain list (assuming a stock config).


--
Peter Bowyer
Email: peter [at] bowyer
Follow me on Twitter: twitter.com/peeebeee

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


wbh at conducive

Nov 23, 2009, 11:52 AM

Post #4 of 5 (724 views)
Permalink
Re: Mail lists, gmail servers in mx and local users issue [In reply to]

Peter Bowyer wrote:
> 2009/11/23 Cameron Smith <velvetpixel [at] gmail>:
>> Our mail is hosted at gmail.
>>
>> Our mail server sends our mailing lists using Exim.
>>
>> Our domain is example.com
>
> I doubt it, but anyway...
>
>> If joe [at] example is on one of the mailing lists he does not receive
>> the mail as it is trying to deliver the mail locally rather than
>> sending to the gmail mailserver listed in the mx.
>>
>> How can I fix this?
>
> Assuming you want no addresses at your domain to be treated as local
> by your Exim MTA, take your domain name out of the 'local_domains'
> domain list (assuming a stock config).
>
>

Cameron,

.. all of which also raises the question:

How, and to what address(es) do 'posts' TO the list arrive?

They probably need a bit of recognition and handling logic as well, lest they be
refused by the settings so far suggested.

JFWIW - life is considerably simpler (especially when 'bounces' are returned) if
the MTA/MLM can be given a valid <domain>.<tld> of its own, and outbound headers
set to what makes sense w/r distinguishing 'From:, 'Reply To:', posts,
moderation, subscribe/unsubscribe, and the return path needed by the inevitable
bounces a list will encounter as members change addresses, overfill quotas, or
go on vacation.

All old stuff, and probably better covered in your Mailing List Manager software
docs and their support/user list archives than here.

Bill

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


jbparker at ualr

Nov 23, 2009, 1:55 PM

Post #5 of 5 (710 views)
Permalink
Re: Mail lists, gmail servers in mx and local users issue [In reply to]

On Mon, Nov 23, 2009 at 1:07 PM, Mark Nipper <nipsy [at] bitgnome> wrote:
> On 23 Nov 2009, Cameron Smith wrote:
> > Our mail is hosted at gmail.
>
>        You could add a router towards the top of your list of
> routers that looks something like:
> ---
> smarthost:
>  driver = manualroute
>  route_list = example.com aspmx.l.google.com:alt1.aspmx.l.google.com:alt2.aspmx.l.google.com:aspmx2.googlemail.com:aspmx3.googlemail.com
>  transport = remote_smtp
> ---

As a minor tweak, we use the following config to simulate the
priorities of the suggested Google Apps MX records:

hosts_randomize = true
route_list = example.com
aspmx.l.google.com:+:alt1.aspmx.l.google.com:alt2.aspmx.l.google.com:+:aspmx2.googlemail.com:aspmx3.googlemail.com:aspmx4.googlmail.com:aspmx5.googlemail.com

-jbp

--
Jay Parker, Systems Manager, UALR Computing Services
jbparker [at] ualr 501-569-3345 http://ualr.edu/jbparker

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.