clamav bounce back

mikef1

Verified User
Joined
Aug 15, 2007
Messages
9
FreeBSD 6.2
Exim 4.67
dovecot 1.0.3
clamav-0.91.2

Installed clamav from ports and made the changes to /etc/exim.conf from http://www.directadmin.com/forum/showthread.php?t=10478

Code:
check_message:
deny message = This message contains malformed MIME ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = This message contains a virus or other harmful content ($malware_name)
demime = *
malware = *
deny message = This message contains an attachment of a type which we do not accept (.$found_extension)
demime = bat:com:pif:prf:scr:vbs
warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
accept


Clamav seems to work fine except for the bounce back error message when it finds a virus.

I try to email a .bat file thru I get "This message contains an attachment of a type which we do not accept (.bat)" which is good.


But I tried sending a 'virus' (clamav test file) thru I get "Requested action not taken: mailbox unavailable. [SMTP Error Code 550]" in the bounce back message.

Checking /var/log/clamav/clamd.log I see clamav found the virus.
Looking at exim rejectlog, it is rejecting it "This message contains a virus or other harmful content (ClamAV-Test-File)"

There is nothing in the returned e-mail that states a virus was found. Just mailbox unavailable. Is that normal?


thanks
Mike
 
Back
Top