[Exim] $local_part equivilent in an ACL

Página Inicial
Delete this message
Reply to this message
Autor: Rick Ennis
Data:  
Para: exim-users
Assunto: [Exim] $local_part equivilent in an ACL
Using exim 4.10

Maybe this is a simple yes/no question when you get right down to it...

All ACLs are run before any of the routers (correct me if I'm wrong there).
So there's no way to get the recipient user's actual login name (I'm
thinking something like $local_part here) in the ACL, right? The glaring
example I think of first is an alias address. If the recipient address is
an alias, but the "redirect" router that does the substitution for the alias
isn't run until later, the ACL wouldn't have any way of getting the real
login name.

The reason I ask is because I want to do a file lookup in the user's home
directory in the ACL. Something like...

deny  !sender_domains = /home/$local_part/no-verify-domains
         !verify = sender/callout


Is there any variable I can use in place of $local_part that would work
there? There's $home, but that's restricted to routers too. So I can't
think of any. Can someone verify this for me so I know I should at least
stop looking?

Thanks.
--
Rick Ennis
rge1@???