Re: [exim] Exim + MySQL + Aliases

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Rich Johnson
日付:  
To: Alvaro Marín
CC: exim-users
題目: 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">>?