--- /dev/null
+#!/bin/bash
+
+SHELL_USER='opendmarc'
+DB_SERVER='localhost'
+DB_USER='opendmarc'
+DB_PASS='*****'
+DB_NAME='opendmarc'
+WORK_DIR='/var/run/opendmarc'
+REPORT_EMAIL='dmarc@*****'
+REPORT_ORG='*****'
+SMTP_SERVER='*****'
+
+mv ${WORK_DIR}/opendmarc.dat ${WORK_DIR}/opendmarc_import.dat -f
+# cat /dev/null > ${WORK_DIR}/opendmarc.dat
+sudo -u ${SHELL_USER} touch ${WORK_DIR}/opendmarc.dat
+# chown opendmarc:opendmarc ${WORK_DIR}/opendmarc.dat
+
+/usr/sbin/opendmarc-import --dbhost=${DB_SERVER} --dbuser=${DB_USER} --dbpasswd=${DB_PASS} --dbname=${DB_NAME} --verbose < ${WORK_DIR}/opendmarc_import.dat
+/usr/sbin/opendmarc-reports --dbhost=${DB_SERVER} --dbuser=${DB_USER} --dbpasswd=${DB_PASS} --dbname=${DB_NAME} --smtp-server=${SMTP_SERVER} --verbose --interval=86400 --report-email=${REPORT_EMAIL} --report-org=${REPORT_ORG}
+/usr/sbin/opendmarc-expire --dbhost=${DB_SERVER} --dbuser=${DB_USER} --dbpasswd=${DB_PASS} --dbname=${DB_NAME} --verbose