-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Matt Simerson edited this page Nov 6, 2015
·
4 revisions
Welcome to the ess wiki!
Coming Soon!
curl -X POST -T eicar.eml localhost:8000/scan/all/eicar.html
clamav clamdscan
✓ is present
✓ finds eicar virus in message (428ms)
✓ passes a clean message (70ms)
clamav clamd TCP
✓ is listening
✓ is working
✓ detects virus in message
✓ passes a clean message
clamav clamd unix socket
✓ is listening
✓ is working
✓ detects virus in message
✓ passes a clean message
clamav
✓ is available
✓ scans viruses
✓ scans clean
cloud-email-scanner
loadConfig
✓ has loadConfig function
ENOENT, no such file or directory '/etc/cloud-email-scanner.ini'
✓ finds cloud-email-scanner.ini
ENOENT, no such file or directory '/etc/cloud-email-scanner.ini'
✓ config has expected sections
detect-cli
✓ finds the bin "which"
✓ does not find the bin "does-not-ever-exist"
detect-socket
✓ finds clamd.socket
✓ does not file files that are not sockets
detect-tcp
✓ detects a listening port
✓ detects a non-listening port
logger
✓ has info function
✓ has error function
✓ has debug function
emits log entries
test debug
✓ debug
test info
✓ info
✓ error
opendkim
✓ is present
✓ valid signed message yields pass (540ms)
✓ invalid signed message yields fail (580ms)
✓ unsigned message yields failure (499ms)
opendkim
✓ is available (945ms)
34 passing (3s)