Changes:
- Announce ourselves as 'clamsmtp' in banner to prevent loop warnings
- Fixed endless loop that occurred on failure to connect out
- Added option for leaving all files in temp directory (debugging purposes)
- Prints version number when run with -v
Changes:
- Option for quarantining files with viruses
- Fixed problem with returning wrong SMTP error code
- Handling timeouts properly
- Fixed stupid problem with sockets not getting closed properly
ClamSMTP is an SMTP filter that allows you to check for viruses using
the ClamAV anti-virus software. It accepts SMTP connections and
forwards the SMTP commands and responses to another SMTP server. The
'DATA' email body is intercepted and scanned before forwarding.
ClamSMTP aims to be lightweight, reliable, and simple rather than have
a myriad of options. It's written in C without major dependencies.
If you need more options then you could use something big like AMaViS
which is written in PERL and can do almost anything.