Re: Help with SAEximRunCond

Torsten Mueller <[email protected]> Sun, 13 Jul 2008 14:35:07 +0200
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Torsten Mueller schrieb:
> No, i try to not run sa-exim, if the local receiving
> E-Mail would be [email protected].
> 
> 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}{[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.

Torsten