mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 13:40:17 +00:00
Adding dkim signing and dcss
This commit is contained in:
@@ -49,3 +49,9 @@ smtpd_sasl_auth_enable = yes
|
||||
smtpd_sasl_security_options = noanonymous
|
||||
smtpd_sasl_local_domain = $myhostname
|
||||
smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject
|
||||
|
||||
milter_protocol = 2
|
||||
milter_default_action = accept
|
||||
|
||||
smtpd_milters = inet:localhost:12301
|
||||
non_smtpd_milters = inet:localhost:12301
|
||||
|
||||
10
roles/shell/files/usr/local/bin/dcss
Normal file
10
roles/shell/files/usr/local/bin/dcss
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
SOURCEKEY="https://crawl.tildeverse.org/dcss.key"
|
||||
MYKEY="${HOME}/.ssh/dcss.key"
|
||||
if [ ! -f "$MYKEY" ]; then
|
||||
mkdir -p "${HOME}/.ssh"
|
||||
curl -s "$SOURCEKEY" > "$MYKEY"
|
||||
chmod 600 "$MYKEY"
|
||||
fi
|
||||
ssh -i "$MYKEY" dcss@crawl.tildeverse.org
|
||||
Reference in New Issue
Block a user