
BitDefender integration | Using | 10 | |
BitDefender | |||
|
#Now let's run the scan process xterm
echo
#End of the script
Do not forget to give it executable rights.
#chmod 755 ~/.rox_choices/SendTo/BitDefender
You can
10.1.5. Pine
Pine® - a Program for Internet News & Email - is a tool for reading, sending, and managing electronic messages.
—Pine Information Center
To scan an email from some mail user agent, you have to save the message on the filesystem and scan that file. Fortunately, these actions can be automated, by using a shell script. Save the following file to some convenient location, such as the BitDefender installation
#!/bin/sh
#BitDefender STDIN scanner integration script
#Copyright (C)
#Place this script in your BitDefender installation directory
#and name it bdscanpipe, such as:
#
#Set some parameters
BDSCAN=bdscan
TMPFILE=/tmp/bdscanpipe_$$
# Save the
63