Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Separate mail server - exim 4.70

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


majid.alavizadeh at gmail

Nov 22, 2009, 7:42 AM

Post #1 of 3 (505 views)
Permalink
Separate mail server - exim 4.70

Hi

I install exim 4.70 mail server. It is separated from dns and web server.
In dns server, mx and mail record refers to mail server.
But when i try to send mail this error appears:


local_part=majid domain=domain.com
checking domains
domain.com in "@"? no (end of list)
domain.com in "! +local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for majid [at] domain
domain = domain.com
DNS lookup of domain.com (MX) succeeded
DNS lookup of mail.domain.com (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of mail.domain.com (A) succeeded
local host has lowest MX
fully qualified name = domain.com
host_find_bydns yield = HOST_FOUND_LOCAL (3); returned hosts:
mail.domain.com XX.XX.XX.XX MX=10
LOG: MAIN
lowest numbered MX record points to local host: domain.com (while routing
<majid [at] domain>)
dnslookup router: defer for majid [at] domain
message: lowest numbered MX record points to local host
majid [at] domain cannot be resolved at this time: lowest numbered MX record
points to local host
search_tidyup called
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


graeme at graemef

Nov 22, 2009, 7:55 AM

Post #2 of 3 (464 views)
Permalink
Re: Separate mail server - exim 4.70 [In reply to]

On Sun, 2009-11-22 at 19:12 +0330, majid alavizadeh wrote:
> checking domains
> domain.com in "@"? no (end of list)
> domain.com in "! +local_domains"? yes (end of list)

Two things:

1. This isn't "domain.com" - please do not obfuscate like this, it can
make debugging very hard.
2. Put your domain into the "local_domains" domainlist. Presently your
Exim configuration thinks the domain is not local, but the MX points to
the same machine (hence the error).

Graeme


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


graeme at graemef

Nov 23, 2009, 1:18 AM

Post #3 of 3 (452 views)
Permalink
Re: Separate mail server - exim 4.70 [In reply to]

Hi

Please make sure you reply to the list.

On Mon, 2009-11-23 at 10:41 +0330, majid alavizadeh wrote:
> I checked exim.conf and found this
>
> domainlist local_domains = @

This means "the local hostname only":

http://www.exim.org/exim-html-current/doc/html/spec_html/ch10.html#SECThoslispatip

You need to add the domain you want to handle into that list, perhaps
after reading further into the docs detailed above about the syntax of
domain lists.

> But in error I see that exim finds my domain in local:
>
> -----------------------------------
> checking domains
> domain.com in "@"? no (end of list)
> domain.com in "! +local_domains"? yes (end of list)
> ------------------------------------

No, it found your local domain in the _negated_ list of local domains -
that is "not a local domain".

> but i try to locate for "local_domains" and returns nothing

You already found it. You need to amend the "local_domains = " line.

Graeme


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.