I peeked a little at clamav milter. I think it can be made more stable if the reads() and writes() to sockets are done with a timeout set. If clamd goes mad, it sometimes accepts() a connection, even reads the command but never responds. If then your socket read or recv call has no timeout, the milter sits there and waits forever and if mail flows in at a reasonable speed the number of socket/file descriptors gets exhausted. A simple setsockopt call can cure this situation. Since we have that in our milter, we had not a single failure with the sendmail/smtp-vilter/clamd combination.

- Marc




------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to