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

Mailing List Archive: exim: users

local domain - exim 4.70

 

 

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


majid.alavizadeh at gmail

Nov 23, 2009, 1:14 AM

Post #1 of 3 (637 views)
Permalink
local domain - 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
-------------------------

I change my domain to "domain.com" for security issue

I checked exim.conf and found this

domainlist local_domains = @

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)
------------------------------------


--
M Alavizadeh

--
## 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/


awd-exim at awdcomp

Nov 23, 2009, 1:55 AM

Post #2 of 3 (594 views)
Permalink
Re: local domain - exim 4.70 [In reply to]

majid alavizadeh wrote:
> Hi
>

--snip--

>
> 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)
> ------------------------------------
>

Actually the above means that it hasn't found it, see the ! in front of
+local_domains. It basically means 'not in' +local_domains

You need to add the domain to your local_domains list.

HTH
cya
Andrew

>
> --
> M Alavizadeh
>


--
Awdcomp computing services.
Mobile: 0433 263 470
Web: www.awdcomp.net
Email: awd [at] awdcomp

--
## 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/


awd-exim at awdcomp

Nov 23, 2009, 2:53 AM

Post #3 of 3 (585 views)
Permalink
Re: local domain - exim 4.70 [In reply to]

majid alavizadeh wrote:
> I change exim.conf
>
> domainlist local_domains = /usr/exim/local_domains
> and add my domain to it.
>
> it's new error in main.log:
>
>
> 2009-11-23 16:45:53 H=localhost [127.0.0.1] sender verify defer for
> <majid [at] domain>:
> local_parts check lookup or other defer
> 2009-11-23 16:45:53 H=localhost [127.0.0.1] F=<majid [at] domain>
> temporarily rejected RCPT
> <majid.alavizadeh [at] gmail>: unknown lookup type "mysql"
>

You don't have mysql support compiled into exim and Are trying to
perform a look within a mysql database where your user's details are stored.
You need to rebuild your binary, or install a pre-compiled version of
exim with mysql support built in.

Cheers
cya
Andrew

> On Mon, Nov 23, 2009 at 1:25 PM, Andrew <awd [at] awdcomp> wrote:
>> majid alavizadeh wrote:
>>> Hi
>>>
>> --snip--
>>
>>> 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)
>>> ------------------------------------
>>>
>> Actually the above means that it hasn't found it, see the ! in front of +local_domains. It basically means 'not in' +local_domains
>>
>> You need to add the domain to your local_domains list.
>>
>> HTH
>> cya
>> Andrew
>>
>>> --
>>> M Alavizadeh
>>>
>>
>

--
## 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.