Local domain mail not sent

richard123

Verified User
Joined
Feb 8, 2010
Messages
5
I have several domains on one server. Sending emails mostly using php. Works perfectly to external addresses, but not to local domains.

In addition, Exim sets the bounces to "frozen". Here's what I get (in Exim):

(I use example.com, example.net and example1.com as substitutes for the real names. Example1.com and example.net)

E-Mail Headers:
167P Received: from mail by server.example.com with local (Exim 4.72)
id 1OXsZ6-0002WM-8E
for [email protected]; Sun, 11 Jul 2010 19:11:12 +1000
038 Date: Sun, 11 Jul 2010 19:11:12 +1000
063I Message-Id: <[email protected]>
042 X-Failed-Recipients: [email protected]
029 Auto-Submitted: auto-replied
074F From: Mail Delivery System <[email protected]>
035T To: [email protected]
059 Subject: Mail delivery failed: returning message to sender


--------
Email Body Chunk:
--------
1OXsZ6-0002WM-8E-D
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from apache by server.example.com with local (Exim 4.72)
(envelope-from <[email protected]>)
id 1OXsZ6-0002WJ-7j
for [email protected]; Sun, 11 Jul 2010 19:11:12 +1000
Date: Sun, 11 Jul 2010 19:11:12 +1000
Message-Id: <[email protected]>
To: [email protected]

I have checked /etc/localdomains and my hostname is there, which btw is server.carbuyingsupport.com.au

Any help much appreciated.

Richard
 
Last edited:
I have gone thru the checklist at http://help.directadmin.com/item.php?id=16 and it's all good, except I'm not sure re step 7. The directories mentioned there don't exist.

my /etc/resolv.conf is

search trouble-free.net
domain trouble-free.net
nameserver 66.45.228.250
nameserver 66.45.228.79
nameserver 66.45.228.4
nameserver 66.45.228.9
 
Last edited:
That checklist may be out of date; it appears to be written before DirectAdmin started using Dovecot.

The exim log at /var/log/exim/mainlog should give you more information on why a specific delivery fails.

Jeff
 
FYI, number 7 is not applicable if you're running Dovecot, which 95% of all new installs do use, so you can ignore that one (as it mentions).

John
 
Back
Top