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.