README ¶ RootMailSlackNotifier DESCRIPTION Notify slack of mail addressed to Root. HOW TO USE Please download the file suitable for your environment. Unzip the downlaod file. Move to this binary file to /usr/local/bin/slack-notifier Create file in /etc/postfix/slack_notice.json { "WebhookURL":"Slack_Webhook_URL", "Username":"Username", "Channel":"general", "IconEmoji":":email:", "Color":"warning" } postfix aliase setting Add the following setting to the bottom line. # vi /etc/aliases root: "| /usr/local/bin/slack-notify -config /etc/postfix/slack_notice.json" Update alias # newaliases Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.