Is there a way to only send mail to spamassassin if a user is in a certain list?  
Though this doesn't work, this is what I'm trying to accomplish:

spamcheck_router:
  no_verify
  condition = "${if and { {!def:h_X-Spam-Flag:} \
                          {!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
  condition = ${lookup{$local_part}lsearch{/etc/mail/spamusers}}
  driver = accept
  transport = spamcheck


-------------------------------------------------------
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