Re: [Exim] E-mail address SQL problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam H. Pendleton
Date:  
À: Sheldon Hearn
CC: exim-users
Sujet: Re: [Exim] E-mail address SQL problem
Sheldon Hearn wrote:

>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.
>
>
>

Should it? And if so, how do I go about implementing this? Just as an
aside, what happens if there is a system alias for a particular From
address? What would exim do with the e-mail? Re-write the from
address, perhaps?

ahp