This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prerequisite: (EPEL repository)[http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x] | |
# | |
# Usage: postfix_dkim.sh domain selector | |
# | |
# | |
# After the script runs, you will need to create TXT DNS records for the domain key: | |
# <selector>._domainkey.<domain> IN TXT "copy and paste the content of /etc/mail/dkim-milter/keys/<domain>/<selector>.txt here" | |
# _domainkey.<domain> IN TXT "o=~" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SonicWall credentials | |
host="XXXX" | |
username="admin" | |
password="XXXX" | |
# SonicWall CLI configuration | |
user_pattern="User:" | |
password_pattern="Password:" |