i tried and everything looks fine apparently (after spending time to fix some errors)... however, when i uploaded the test virus file.. it's not removed! 
when running proftpd in debug mode.. i found the below lines...
	
	
	
		Code:
	
	
		session.xfer.path is '/eicar.com'.
ClamMinSize=0 ClamMaxSize=5242880 Filesize=68
Going to virus scan absolute filename = '/home/demouser/eicar.com' with relative filename = '/eicar.com'.
mod_clamav/0.11rc: Connecting to remote Clamd host 'localhost' on port 3310
ROOT PRIVS at mod_clamav.c:227
ROOT PRIVS: ID switching disabled
PRIVS_RELINQUISH: ID switching disabled
mod_clamav/0.11rc: error: Cannot resolve hostname 'localhost'
mod_clamav/0.11rc: error: Cannot re-connect to Clamd (0): Success
No virus detected in filename = '/home/demouser/eicar.com'.
	 
 
from the last line.. it looks like it scanNED the file and found no virus.. but how can that be? 

 and for the below 2 lines..
	
	
	
		Code:
	
	
		mod_clamav/0.11rc: error: Cannot resolve hostname 'localhost'
mod_clamav/0.11rc: error: Cannot re-connect to Clamd (0): Success
	 
 
it seems there are problems? is this the error that makes it not cleaning up properly? please kindly help! 

