Removing the files w/ specific extensions with the procmail LDA after
accepting the message is different than rejecting them during SMTP time.
I suspect that it's possible to tune SpamAssassin and / or ClamAV to
object to the file extensions and have the milter reject the message
during the SMTP transaction. Though that's predicated on configuration
using them.
There's probably also a way to create a custom rule that will cause
Sendmail to reject it directly. There are probably some guides on
fighting spam from the mid-to-late '90s that may have information on how
to do that.
--
Grant. . . .