All mails sent by mail.module are blocked by clamav beacuse headers contain bad characters. If you open with editors such vim an email generated by mail.module and put in quarantine by clamav you'll notice some ^M chars at end of headers lines. I think they are caused from the \r\n characters in $heders variable.
I tried to remove all \r chars before \n ones in $headers and all seems to work well. Clamav no longer blocks emails generated by mail.module
Comments
Comment #1
killes@www.drop.org commentedComment #2
nedjoComment #3
nedjoI take it all back! I hadn't followed the user. module but now have and this should fix the problem. If not, please reset this issue to 'active'.
Comment #4
(not verified) commented