Re: [Exim] local_domains not recognised

Top Page
Delete this message
Reply to this message
Author: Dave Raven
Date:  
To: exim-users, ph10
Subject: Re: [Exim] local_domains not recognised
say that I'm worried about this.

exim -bd -d9 -C myconfig

shows that it binds to the port etc; and the log shows the
same.
(
[...]
daemon running with uid=26 gid=6 euid=26 egid=6
listening on port 25...
)

however; when I    echo "test" |mail postmaster@???
I see NOTHING whatsoever in the -d9 window. Absolutely nothing.
In the log though, I see this:


2002-11-06 09:43:12 189KqG-0000rE-00 ==
postmaster@???
R=lookuphost defer (-1): remote host address is the local host

If I run an exim -bt -d9 postmaster@??? ; it tells
me that the mail was delivered successfully

postmaster@???
deliver to postmaster@???
router = amavis_router, transport = amavis
search_tidyup called

( I use amavis to scan mails. )

This is true; if I sent a mail from outside. But whenever something
from the server sends a mail (to itself) it doesnt work; and freezes
the mail.
(this is not just to chaos.evolve.za.net but to any host on the mail
server)

Have I set something up wrong?


Thanks all
Dave



- ----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Dave Raven" <dave@???>
Cc: "Odhiambo Washington" <wash@???>; <exim-users@???>
Sent: Tuesday, November 05, 2002 7:03 PM
Subject: Re: [Exim] local_domains not recognised


: On Tue, 5 Nov 2002, Dave Raven wrote:
:
: > local_domains = "${primary_hostname}:\
: >
lsearch;/usr/local/etc/exim/config/pop3-domains.old:\
: >
lsearch;/usr/local/etc/exim/config/relay-domains:\
: >                 mysql;SELECT userid FROM domains WHERE
: > userid='$key';:\
: >                 mysql;SELECT id from relays where id='$key';"
:
: Which release of Exim? That won't work in Exim 3. The local domains
: option is not expanded (IIRC).
:
: >     That is my actuall local_domaisn list; and with evolve.za.net
: >     nothing changes.
: >     If I test the setup with
: >             exim -bt
: >     it tells me that the mail to postmaster@???
: >     was delivered successfully. But when I actually send one
: >     from the local server (its works perfectly when its not from
: >     a shell or cron or exim itself) then I see the errors..
:
: exim -d (or -d9 for Exim 3) is your friend. It clearly doesn't
think the
: right domains are local.
:
:
:
:
: --
: Philip Hazel            University of Cambridge Computing Service,
: ph10@???      Cambridge, England. Phone: +44 1223 334714.
:
:
: --
:
: ## List details at http://www.exim.org/mailman/listinfo/exim-users
Exim details at http://www.exim.org/ ##
:
: