%PDF- %PDF-
Direktori : /data/old/etc/opt/eset/esets/scripts/ |
Current File : //data/old/etc/opt/eset/esets/scripts/daemon_notification_script |
#!/bin/sh # # ESETS notification script # ------------------- # # For more information see: # man esets_daemon # # The following variables are provided by esets_daemon: # # ESETS_USERSPEC # User specification ID. # # ESETS_MSGID # ID of the e-mail message. # # ESETS_SENDER # Fully qualified address of the e-mail message # sender. It is highly recommended to not use this # information to send notification to the sender of # scanned e-mail, since the sender address of the # infected e-mail could be modified by the infection # and therefore will result in a SPAM effects. # # ESETS_RECIPIENT # Fully qualified address of the e-mail message # recipient. It is highly recommended to not use this # information to send notification to the recipient # of scanned e-mail, since the recipient address of # the infected e-mail could be modified by the infec # tion and therefore will result in a SPAM effects. # # ESETS_AV_STATUS # Status of AV scanning process. # # ESETS_AS_STATUS # Status of AS scanning process. # # ESETS_ACTION # Action taken as a consequence of scanning status. # # ESETS_LOG # Short report concerned with the scanned e-mail message # infection including the scanned object and virus name. # # ESETS_VIRUS # The virus name. # /usr/sbin/sendmail -t -oi << %% From: esets_daemon To: root Subject: notification USERSPEC: ${ESETS_USERSPEC} MSGID: ${ESETS_MSGID} SENDER: ${ESETS_SENDER} RECIPIENT: ${ESETS_RECIPIENT} AV_STATUS: ${ESETS_AV_STATUS} ACTION: ${ESETS_ACTION} VIRUS: ${ESETS_VIRUS} LOG: ${ESETS_LOG} %%