Re: [exim] Problem with exim and vexim

Pàgina inicial
Delete this message
Reply to this message
Autor: Martin Justra
Data:  
A: Mike Barnard
CC: exim-users
Assumpte: Re: [exim] Problem with exim and vexim
Hi Mike,

the statement

select users.uid from users,domains where localpart =
'frizze<frizze@???>'
and domain = 'harfouche.de <frizze@???>' and users.domain_id =
domains.domain_id

is bringing no result. But it CAN not bring an result because it's an
catchall. The user "frizze" does not exist. That cannot work for catchall...

> > if i am not wrong, this is what you should have in that virtual_delivery
> > transport
> >
> > user = ${lookup mysql{select users.uid  from users,domains \
> >        where localpart = '${quote_mysql:$local_part}' \
> >        and domain = '${quote_mysql:$domain}' \
> >        and users.domain_id = domains.domain_id}}
> >  group = ${lookup mysql{select users.gid from users,domains \
> >        where localpart = '${quote_mysql:$local_part}' \
> >        and domain = '${quote_mysql:$domain}' \
> >        and users.domain_id = domains.domain_id}}

> >


That string is exactly what you wrote.

Martin