Changed email address to support@comprofix.com for some scripts

This commit is contained in:
Matthew McKinnon 2015-11-23 00:18:22 +10:00
parent 468df74b68
commit 24f1c0f65f
3 changed files with 7 additions and 7 deletions

View File

@ -14,12 +14,12 @@
# Make user configuration changes in this section # Make user configuration changes in this section
# #
MAILTO="mmckinnon@comprofix.com" MAILTO="support@comprofix.com"
SMTP=mail.comprofix.com SMTP=mail.comprofix.com
AUTOUPDATE="no" AUTOUPDATE="no"
LOGFILE="/var/log/server_maint.log" LOGFILE="/var/log/server_maint.log"
THISSERVER=`hostname --fqdn` THISSERVER=`hostname --fqdn`
MAILFROM="mmckinnon@comprofix.com" MAILFROM="support@comprofix.com"
# #
# End of user configuration section # End of user configuration section

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
MAILTO="mmckinnon@comprofix.com" MAILTO="support@comprofix.com"
SMTP=mail.comprofix.com SMTP=mail.comprofix.com
LOGFILE="/var/log/diskalert.log" LOGFILE="/var/log/diskalert.log"
THISSERVER=`hostname --fqdn` THISSERVER=`hostname --fqdn`
MAILFROM="mmckinnon@comprofix.com" MAILFROM="support@comprofix.com"
startlogging() { startlogging() {
echo $DASHES2 >> $LOGFILE echo $DASHES2 >> $LOGFILE

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
MAILTO="mmckinnon@comprofix.com" MAILTO="support@comprofix.com"
SMTP=mail.comprofix.com SMTP=mail.comprofix.com
THISSERVER=`hostname -f` THISSERVER=`hostname -f`
MAILFROM="mmckinnon@comprofix.com" MAILFROM="support@comprofix.com"
( (
/usr/bin/rkhunter --versioncheck --nocolors /usr/bin/rkhunter --versioncheck --nocolors
/usr/bin/rkhunter --update --nocolors /usr/bin/rkhunter --update --nocolors
/usr/bin/rkhunter --cronjob --report-warnings-only --nocolors /usr/bin/rkhunter --cronjob --report-warnings-only --nocolors
) | /usr/bin/sendemail -o tls=no -s $SMTP -t $MAILTO -f "$THISSERVER <$MAILTO>" -u "[rkhunter] Daily Log $THISSERVER" -q ) | /usr/bin/sendemail -o tls=no -s $SMTP -t $MAILTO -f "$THISSERVER <$MAILTO>" -u "[rkhunter] Daily Log $THISSERVER" -q