PDA

View Full Version : exim, external email hosting and internal mailing list



emmanuel
02-01-2010, 09:17 PM
I've got an odd situation with a client. They prefer to use gmail for their email because in their opinion, Google obviously must be more robust/reliable than any webhosting company. So we've set up their MX records to use gmail as their email server.

But they have a mailing list on our server which is populated by a web-based script on their site on our server. They can send to the mailing list by using our webmail or the script's web interface since that is routed internally.

The problem now is, they cannot receive any emails sent from within the server. E.g. alerts and notifications because exim routes it internally.

The normal workaround is to remove their domain from exim's domains file. Then exim will route their emails externally. However, doing so will break the mailing list because exim will similarly route emails meant for the mailing list to gmail as well.

Is there a way to configure exim to internal route certain addresses or external route addresses not found locally?

nobaloney
02-02-2010, 09:55 AM
For a given domain email can be either internal or external. How did you route their email to Google? Did you simply change the MX records? From the user-level login you need to click on MX Records and be sure the checkbox is unchecked. Then be sure to save.

Jeff

floyd
02-02-2010, 12:02 PM
However, doing so will break the mailing list because exim will similarly route emails meant for the mailing list to gmail as well.


Why would you say that? Is the email address the list is sending to their domain? That would not make sense. Usually the to addresses for a mailling list is other people's addresses and domains.

nobaloney
02-02-2010, 05:02 PM
I'm presuming he means that emails to the list will be routed to gmail.

Yes, that's true.

Jeff

floyd
02-03-2010, 05:10 AM
The problem now is, they cannot receive any emails sent from within the server. E.g. alerts and notifications because exim routes it internally.

Forward username@domain.com to their gmail account or use the webmail on your server to pick up those alerts and messages.