Re: Help with SAEximRunCond

Torsten Mueller <[email protected]> Tue, 15 Jul 2008 00:17:33 +0200
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Marc MERLIN schrieb:
>> SAEximRunCond: ${if and { {!eq {$received_for}{[email protected]}}
>>  {!def:authenticated_id} {def:sender_host_address} {!eq 
>> {$sender_host_address}{127.0.0.1}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} } 
>> {1}{0}}
>>
>> The received_for variable should work, if there's only one recipient.
> 
> Aaah, you were looking at 'for', not 'from'.
> I honestly don't remember so you'll have to try, but I'm not sure you can
> look for $received_for at DATA time since you may have more than one
> recipient by Email.
> You are right that if there is only one recipient, it ought to work, but I'm
> not certain it does.

It seems to work this way with one recipient.

Now i 'only' must configure my other exim ACLs to not refuse such mail 
for other reasons.

Thanks so far,

Greetings Torsten