I was wondering,
If i do this:
authenticated = *
senders = {$1}
verify = sender
to make sure the user authenticated is the actual sender.
Would this work ?
Also i was wondering how do u know when the "AND" statements end ?
Thanks,
Oren.
----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Oren Levi" <orenlevi@???>
Cc: <exim-users@???>
Sent: Monday, September 15, 2003 5:06 AM
Subject: Re: [Exim] relay_match_host_or_sender
> On Sun, 14 Sep 2003, Oren Levi wrote:
>
> > Anything similer to relay_match_host_or_sender in exim 4.2 ?
>
> accept hosts = ... whatever
> accept senders = ... whatever
>
> (Two successive "accept"s are in effect "or"ed together.)
>
> But it is a *very* bad idea to accept messages purely on the basis of
> the sender address, because these are frequently forged.
>
> > I want to verify the sender field is part of the local email addresses
> > to avoid forged emails. this with smtp auth should suffice.
>
> accept authenticated = *
> sender_domains = ... the domains you allow ...
> verify = sender
>
> (Multiple conditions in a single "accept" are "and"ed together.)
>
>
> --
> 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
>
>
>