[SA-exim] Help with SAEximRunCond
Torsten Mueller
torsten at archesoft.de
Sun Jul 13 05:35:07 PDT 2008
Torsten Mueller schrieb:
> No, i try to not run sa-exim, if the local receiving
> E-Mail would be spamtrap at archesoft.de.
>
> So , if $local_part eq spamtrap and $local_receiving_domain eq
> archesoft.de , then do not run sa-exim.
>
> I hope, i described it better now ;-)
I think i am a step closer:
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.
Torsten
More information about the SA-Exim
mailing list