or like spamd wait for sendmail to finish accepting delivery of the
message
before scanning.
Use LocalSocket in clamd.conf, or don't use --external to achieve the
above.
I use LocalSocket, here is my current clamd.conf
LocalSocket /var/run/clamav/clamav.sock
FixStaleSocket
LogFile /var/log/clamd.log
LogFileMaxSize 5M
LogTime
LogClean
#LogVerbose
LogFacility LOG_MAIL
LogSyslog
User clamav
ScanMail
ScanArchive
ArchiveMaxFileSize 10M
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users