Re: [exim] Exim + MySQL + Aliases

Top Page
Delete this message
Reply to this message
Author: Rich Johnson
Date:  
To: Alvaro Marín
CC: exim-users
Subject: Re: [exim] Exim + MySQL + Aliases

On Feb 14, 2006, at 3:44 AM, Alvaro Marín wrote:
> [...snip...]


> # exim4 -bt -v user@???
> user@???
>     <-- user@???
>   router = dnslookup, transport = remote_smtp
>   host domain2.com [XX.XX.XX.XX] MX=0

>

OK. It appears that the alias is interpreted as intended. This
implies the failure lies in the delivery attempt to domain2.com.

> MySQL logs:
>
> 060214  9:42:37      88 Connect     exim@localhost on maildb
>                      88 Query       SELECT dest FROM aliases WHERE  
> email='user@???'
>                      88 Query       SELECT dest FROM aliases WHERE  
> email='user@???'
>                      88 Query       SELECT domain FROM domains  
> WHERE type="local" and domain="domain2.com"

>
> All looks fine but message is in the queue and no logs is given
> (only Received one).


Hmm.. that third query should return no records since ''domain2.com''
is a relay. I wonder why there's no fourth query containing <<WHERE
type="relay" and domain="domain2.com">>?