<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use exim 4.30, spamassassin and 
amavis.</FONT></DIV>
<DIV><FONT face=Arial size=2>I try to use system filter to take a copy of SPAM 
mark message an to deliver same</FONT></DIV>
<DIV><FONT face=Arial size=2>message to original recipient. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I test filter,  everything seems to work 
normal</FONT></DIV>
<DIV><FONT face=Arial size=2>When I look log files, it seems that message 
deliver to original recipient, but</FONT></DIV>
<DIV><FONT face=Arial size=2>never get to mailbox. There is no message in 
queue.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What I'm doing wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is my system filter</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Exim filter</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>if not first_delivery<BR>then<BR>  
finish<BR>endif</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>if first_delivery and $h_X-Spam-Status: contains 
"YES"<BR>    then<BR> logfile 
/var/log/exim/spamlog<BR> logwrite "$tod_log From: $h_From: Subject: 
$h_Subject: \n \t X-Spam-Status: $h_X-Spam-Status: Sender: 
$sender_address"<BR> save /var/spool/mail/SPAMMAILS<BR># mail to "<A 
href="mailto:$local_part@$domain">$local_part@$domain</A>"  <EM> # try 
this with no success</EM><BR> finish<BR>#   mail to 
$recipients                
<EM># try this with no success</EM><BR>#   seen 
finish                           
<EM># blackhole</EM> <BR> finish<BR></FONT><FONT face=Arial size=2>endif 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any good tutorial about exim filter ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Boris</FONT></DIV></BODY></HTML>