On 14/09/11 02:53, Always Learning wrote: > Before the ACL Data I have:- > > warn set acl_m2 = $sender_address > > In ACL Data I have:- > > warn add_header = X-crap: $acl_m2
You should be able to access $sender_address directly inside the DATA
ACL without having to use $acl_m2. This is because there is only a
single sender address per message.
> accept condition = ${if eq{$acl_m2}{[email protected]}}
>
> but the test does not work. I am attempting to prematurely jump out of
> the ACL Data if the sender's email address matches.
>
> The rejection log shows:-
>
> X-crap: [email protected]
>
> and the sender's mail address is:-
>
> Charlie Delta <[email protected]>
>
> Please will someone tell me what I am doing wrong? I use Exim 4.63 with
> Centos 5.6.
That all looks correct. Something else about your configuration which
you haven't mentioned, is causing the problem.
--
Mike Cardwell https://grepular.com/ https://twitter.com/mickeyc
Professional http://cardwellit.com/ http://linkedin.com/in/mikecardwell
PGP.mit.edu 0018461F/35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F
signature.asc
Description: OpenPGP digital signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
