exim, external email hosting and internal mailing list

emmanuel

Verified User
Joined
Mar 26, 2007
Messages
88
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?
 
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
 
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.
 
I'm presuming he means that emails to the list will be routed to gmail.

Yes, that's true.

Jeff
 
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 [email protected] to their gmail account or use the webmail on your server to pick up those alerts and messages.
 
Back
Top