Re: [exim] alias and autorespond

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: alexis
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] alias and autorespond
On 2/13/06, Philip Hazel <ph10@???> wrote:
> On Mon, 13 Feb 2006, alexis wrote:
>
> > > > 1 and 2 Not possible, in my scenario robert doesnt know about the 'jack' alias.
>
> If the aliasing is happening inside Exim, using redirection, then


Yes it is

mysql_alias:
  driver = redirect
    allow_defer
    allow_fail
  data = ${lookup mysql {SELECT DISTINCT alias FROM users WHERE
domain='$domain' and username='$local_part' or username='@' and
is_alias='yes' limit 1}}
    retry_use_local_part


> robert's filter or whatever (some router) can detect whether the message
> is direct or via an alias by comparing $local_part with
> $original_local_part.


ok, ill add a condition for this :)

Thanks all again, im new using exim, i was a qmail user for a long
time, then i tried exim and now i can see the light ;)