As far as I can tell, permissions are good. However, I have learned a bit more from running ktrace on clamd. Right after it gets called by clamav-milter, it calls cli_get_filepath_from_filedesc. That module has code for Linux, MacOS, and WIN. There is no code for FreeBSD. None of the 3 existing sections are viable on FreeBSD and so I believe it returns a CL_BREAK which causes the error to be reported. However, it appears to be treated as a warning as clamd continues to read the email from milter and process it. For some reason though, it always returns OK even when I send it the EICAR test.
I can live with the warning message, but I need it to detect viruses. How can I debug that? -- Doug > On Apr 1, 2023, at 03:01, newcomer01 via clamav-users > <clamav-users@lists.clamav.net> wrote: > > is the path to your mails (maybe inbox only) correct configured? > have your clamav and your maildir the same permissions? > > > Von / From: Doug Hardie <mailto:bc...@lafn.org> > An / To: Newcomer01 <mailto:newcome...@posteo.de> > Gesendet / Sent: Samstag, April 01, 2023 um 10:17 (at 10:17 AM) +0200 > Betreff / Subject: [clamav-users] Error Message from clamd >> I have started receiving the following error message on every received email: >> >> Unable to determine the filepath given the file descriptor >> >> FreeBSD 13.1, Postfix, clamav-milter, clamd >> clamav-1.0.1,1 >> >> As a result the test virus is not detected, but the email gets a >> X-Virus-Status: Clean header added. I can't find any description of this >> error anywhere. How can I figure out what the problem is? >> >> -- Doug >> >> >> >> _______________________________________________ >> >> Manage your clamav-users mailing list subscription / unsubscribe: >> https://lists.clamav.net/mailman/listinfo/clamav-users >> >> >> Help us build a comprehensive ClamAV guide: >> https://github.com/Cisco-Talos/clamav-documentation >> >> https://docs.clamav.net/#mailing-lists-and-chat > > _______________________________________________ > > Manage your clamav-users mailing list subscription / unsubscribe: > https://lists.clamav.net/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/Cisco-Talos/clamav-documentation > > https://docs.clamav.net/#mailing-lists-and-chat
_______________________________________________ Manage your clamav-users mailing list subscription / unsubscribe: https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat