Re: [Exim] E-mail address SQL problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Sheldon Hearn
Data:  
A: Adam H. Pendleton
CC: exim-users
Assumpte: Re: [Exim] E-mail address SQL problem
On (2003/11/26 19:26), Sheldon Hearn wrote:

> > # PgSQL system aliases
> > pgsql_sys_aliases:
> >  driver = redirect
> >  allow_fail
> >  allow_defer
> >  data = ${lookup pgsql{SELECT dest FROM email_aliases \
> >            WHERE alias='${local_part}' AND type='system'}}

[...]

> > My questions are:
> >
> > 1. Why is exim performing this system aliases lookup for a from
> > address? Shouldn't sender verify be done somewhere else?
>
> If the sender address is in a domain that Exim believes is local, Exim
> will (and should) perform whatever lookups necessary to determine
> whether it's a deliverable address in that local domain, assuming sender
> verification is enabled.


My answer was incomplete. Your pgsql_sys_aliases router doesn't specify
a precondition that limits its application to local domains only.

Ciao,
Sheldon.