I have a Mac Mini server running Yosemite (10.10.1) and OS Server v4.0. I installed Roundcubemail Webmail Software without any problem and was working fine as expected. After I installed Avast 2015 Free Antivirus for Mac on my server, Roundcubemail started behaving differently. Attachments in the emails had 0 (zero) byte regardless the type of the file attached… When I browsed my emails using Apple’s Mail client I noticed that all the attachments were intact. To test my theory, I removed the Avast Antivirus software and everything was back to normal.
Could someone shed a light on the strange behaviour of Avast Antivirus? why Avast is removing the attachments when someone is accessing emails via Roundcubemail Webmail?