Re: [exim] aliases problem

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] aliases problem
On Thursday 03 May 2007 15:09, Klauss Fumuldavijus wrote:
> I got stuck on sending emails to recipients aliased names. After digging
> google for solutions for a whole day i decided to ask for you help.
> Actualy problem is obvious - aliased addres as@??? is replaced
> with non existent esu@??? instead of pointing to
> esu@???,
> but why?
>
> system_aliases:
>   driver = redirect
>   allow_fail
>   allow_defer
>   data = ${lookup mysql{SELECT recipients FROM aliases \
>          WHERE local_part='${local_part}' AND domain='${domain}'}}
>   no_more


Your lookup returns one (or more?) unqualified addresses. Exim by default
qualifies them with qualify_domain or, if unset, primary_hostname. You might
want to set qualify_preserve_domain on your system_aliases router.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans