Re: [Exim] relay_match_host_or_sender

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Oren Levi
Datum:  
To: exim-users
Betreff: Re: [Exim] relay_match_host_or_sender
Hi,

Thanks you, now it works. I had to change it a bit:

condition = ${if eq{$authenticated_id}{$sender_address}{yes}{no}}

What kind of programming language does this use ? (i want to read about the
syntax)


Sincerely,
Oren.


----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Oren Levi" <orenlevi@???>
Cc: <exim-users@???>
Sent: Tuesday, September 16, 2003 6:20 AM
Subject: Re: [Exim] relay_match_host_or_sender


> On Tue, 16 Sep 2003, Oren Levi wrote:
>
> > The problem with this is that on a shared domain server one could
> > authenticate using lets say user@??? and actually pretenting to

be a
> > sender from domain2.com (which is a local domain as well)
> >
> > So what i wanted to do is make sure that the authenticated user name

will
> > match the sender.
>
> Then check it! You can preserve the user name in your authenticator
> using server_set_id, and check $authenticated_id using a "condition" in
> your ACL.
>
>    condition = ${if

eq{$authenticated_id}{${local_part:$sender_address}}{yes}{no}}
>
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
>
>