[SA-exim] Help with SAEximRunCond

Torsten Mueller torsten at archesoft.de
Mon Jul 14 15:17:33 PDT 2008


Marc MERLIN schrieb:
>> SAEximRunCond: ${if and { {!eq {$received_for}{spamtrap at archesoft.de}}
>>  {!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



More information about the SA-Exim mailing list