- email_send
-
############ email_send #################### # Usage : $toaster->email_send("clean" ); # : $toaster->email_send("spam" ); # : $toaster->email_send("attach"); # : $toaster->email_send("virus" ); # : $toaster->email_send("clam" ); # # Purpose : send test emails to test the content scanner # Returns : 1 on success # Parameters : type (clean, spam, attach, virus, clam) # See Also : email_send_[clean|spam|...]
Email test routines for testing a mail toaster installation.
This sends a test email of a specified type to the postmaster email address configured in toaster-watcher.conf.
- email_send_attach
-
######### email_send_attach ############### # Usage : internal only # Purpose : send an email with a .com attachment # Parameters : an email address # See Also : email_send
Sends a sample test email to the provided address with a .com file extension. If attachment scanning is enabled, this should trigger the content scanner (simscan/qmailscanner/etc) to reject the message.
- email_send_clam
-
Sends a test clam.zip test virus pattern, testing to verify that the AV engine catches it.
- email_send_clean
-
Sends a test clean email that the email filters should not block.
- email_send_eicar
-
Sends an email message with the Eicar virus inline. It should trigger the AV engine and block the message.
- email_send_spam
-
Sends a sample spam message that SpamAssassin should block.