Configure Exim4 to perform MX lookup for outgoing email instead of delivering to local mailboxes

My mail server (VPS) was setup using VestaCP and has multiple domains -- it's only a mail server, not used for web. The server is running bind9 but all domains namservers are set to CloudFlare.

Some domains are used to send outgoing email only -- these domains MX records in CloudFlare are set to a third party provider like Google Apps/G Suites.

Some domains are used to send and receive email (as a real mailbox) -- these domains MX records in CloudFlare are set to the VPS.


- [url removed, login to view] is using CloudFlare nameservers. It's MX records set to Google Apps/G Suite.

- In G Suite we have 2 email accounts: james@[url removed, login to view] and

- On the VPS, we have an email account

- When email is sent from notifications@[url removed, login to view] to james@[url removed, login to view] using the VPS SMTP, exim will try to deliver email to the local mailbox

All I want Exim to do is check/honour the MX records for domains its sending email to and deliver using the MX records set by DNS.

The ability to send and receive email should not be impaired. The servers security should not be put at risk (i.e. open relay).

Server access will not be provided. I will provide Exim's configuration files for you to edit and send back. Please only offer if you know what you are doing and not if you rely on Google (I could just do that myself).

Skills: Linux, System Admin

See more: exim route_list, exim virtual users, debian exim4, exim documentation, exim relay not permitted, exim4 smarthost, exim virtual domains, exim local_domains, configure exim4 forward, server 2008 wss outgoing email configuration, outgoing email settings wss secure smtp, win2008 outgoing email settings sharepoint, wss outgoing email server 2008, configure cisco router send traffic report email, configure outgoing email sharepoint services

About the Employer:
( 1 review ) London, United Kingdom

Project ID: #14936804

Awarded to:


Can help you to send mail from vps to email hosted on g-suite. It's currently finding the domain in local while it should be in remotelookup Relevant Skills and Experience Linux server administrator mail server exim / More

£18 GBP in 1 day
(10 Reviews)

8 freelancers are bidding on average £79 for this job


Hi, Greeting! Hope you are doing well Please provide exim config file i will fix this issue Thanks Karun Relevant Skills and Experience 10+ years of experience as a hosting support engineer Proposed Milestones £23 GB More

£23 GBP in 0 days
(108 Reviews)

Hello! We are A2 Design, a Russian-Canadian web development company. If you you need help with: - Website/web application/e-commerce development (any complexity) from scratch or using a premade solution - Front-e More

£350 GBP in 3 days
(2 Reviews)
£55 GBP in 1 day
(67 Reviews)

Hello I have been in this industry for 5+ years working as Linux Server Administrator and such jobs are my daily practice. I can assure you that if you work with me once, you will always work with me for these kind o More

£45 GBP in 3 days
(87 Reviews)

Expert in server management SSL Certificate, Cpanel/WHM, Dns,Centos, web panel, Apache, Plesk Panel IIS,Debian, Nginx, Ubuntu, Zimbra Mail server power MTA, enterspire,Aws, Migration services Relevant Skills and Ex More

£25 GBP in 0 days
(35 Reviews)

A proposal has not yet been provided

£18 GBP in 1 day
(0 Reviews)
£100 GBP in 5 days
(0 Reviews)