Externalize role
This commit is contained in:
commit
6dd27f2df4
18 changed files with 1740 additions and 0 deletions
7
files/usr/local/sbin/update_postgrey_whitelist.sh
Executable file
7
files/usr/local/sbin/update_postgrey_whitelist.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
wget https://github.com/schweikert/postgrey/raw/master/postgrey_whitelist_clients
|
||||
#wget https://github.com/schweikert/postgrey/raw/master/postgrey_whitelist_recipients
|
||||
sed -e 's|##DATE##|'"$(date +%d/%m/%Y)"'|' -e 's|##VERSION##|master|' -i postgrey_whitelist_clients
|
||||
cat postgrey_whitelist_clients > /etc/postfix/postgrey_whitelist_clients
|
||||
systemctl restart postgrey
|
||||
Loading…
Add table
Add a link
Reference in a new issue