troubleshooting Question

Urgent help EXIM relay error: rejected after DATA: Message is missing headers required by RFC 2822 /etc/mail

Avatar of mshaikh22
mshaikh22 asked on
LinuxEmail Servers
9 Comments7 Solutions834 ViewsLast Modified:
Dear Experts,

We have 2 exim MTA 4.72 running on Centos 5.3 running spamassasin. We have inherited these systems from our sister company and we are in the process of closing their data center and have started to having some problems regarding this.

We migrated the network connection for the external data provider from the old data center that uses the exim to relay emails to the sister company to the new one.
As the result the external data provider server ip address has been changed from 172.20.x to 10.67.x.x.
Just to let you know that the exim servers are not configured in the usual way meaning i cannot run your usual command to get my way around i.e. service exim restart to restart the services after making conf change and nano.

I have to reboot the servers
I have added the new server ip to the following configs via vi


After rebooting the servers, I am getting the following message in the reject logs.

2013-07-08 10:17:06 1Uw7Z8-00012c-4U H=(test) [10.67.x.x] F=<> rejected after DATA: Message is missing headers required by RFC 2822
Envelope-from: <>
Envelope-to: <>
P Received: from [] (helo=test)
        by with smtp (Exim 4.72)
        (envelope-from <>)
        id 1Uw7Z8-00012c-4U
        for; Mon, 08 Jul 2013 10:17:06 +0100

 Would really appreciate your help on this. I need to find out, where else I need to include the new ip in order for it stop rejecting the emails

Thank you,

Join our community to see this answer!
Unlock 7 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 7 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros