no_mbox_unspool on errors only?

Scott Call <[email protected]> Wed, 22 Sep 2004 18:47:14 -0700 (PDT)
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
I've run into a couple of problems with the clamd 0.80rc2 (and today's 
CVS) where it seems to be choking on certain mail headers.

While I'm 99% sure that it's clamd not exiscan breaking, I need to have 
copies of the messages that fail to send to the clam developers.

I know there's the "no_mbox_unspool" command but that is for all messages, 
not just ones that are defered due to clamd errors:
2004-09-22 18:06:51 1CAI4Q-0007bR-7Z malware acl condition: clamd: ClamAV 
returned /var/spool/exim/scan/1CAI4Q-0007bR-7Z/1CAI4Q-0007bR-7Z-00002.com: 
Bad format or broken data ERROR
2004-09-22 18:06:51 1CAI4Q-0007bR-7Z H=asi-mail-01.asinternet.net 
(mail.asinternet.net) [199.0.184.229] F=<[email protected]> 
temporarily rejected after DATA

What I would like to be able to do is if the test condition is defered, I 
want to keep the file around, but if it succeeds I want to drop it.  I 
can't save 200,000 messages a day just in case one fails.

If there's a way to do this in the existing implementation, please let me 
know, otherwise if it's not too hard, can I request it as a feature?

Thanks
-Scott


Scott Call	Router Geek, ATGi, home of $6.95 Prime Rib
I make the world a better place, I boycott Wal-Mart 
VoIP incoming: +1 360-382-1814