Hi out there,

I wanted to extend my exim with spamassassin with a list,
that includes mailadresses of users, they not will be scanned
of spam.
Just like:  [EMAIL PROTECTED]
Should be excluded from spam-scan. 

So I have added the following condition to my spamcheck_director
(thanxx to rene of world-email.cx).
But now all users they were added in this list, will be scanned
and all others will not be scanned.
So I thought I can change this, while changing a "1" to a "0" or
!eq to eq, but nothing happens.

Is there anybody out there, who can help me to fix this (I think)
little problem ?

Here is my spamcheck_director:

spamcheck_director:
  driver = accept
  # do not scan reciepents, they were listed in do_not_scan_recpt
  condition = "${if and { {!def:h_X-Spam-Flag:} \
                {!eq {$received_protocol}{spam-scanned}} \
                {!eq {$received_protocol}{local}} \
                {!eq {1} \
                { \
               ${lookup [EMAIL PROTECTED] \
                lsearch {/opt/exim/data/do_not_scan_recpt}{1}fail } \
                }} \
                } {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify
  senders = !lsearch;/opt/exim/data/do_not_scan_senders

-- 
Regards,

     Jens Strohschnitter

-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
                 the heart of the sun
-------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to