I'm getting the following error with clamdscan:
$ formail -ds < $MAIL | clamdscan --disable-summary --stdout -
WARNING: Can't write to the socket.
Clamscan works fine, and so does piping an individual file into
clamdscan, so there seems to be a problem with clamdscan and larger
pipes. What should I do?
--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"