Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793295
get-dkim-dns-entries.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
923 B
Referenced Files
None
Subscribers
None
get-dkim-dns-entries.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# Nasqueron mail services
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-01-14
# License: Trivial work, not eligible to copyright
# Source file: roles/mailserver/dkim/files/bin/get-dkim-dns-entries.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# Parses arguments
if
[
$#
-eq
0
]
then
echo
"Usage: `basename
$0
` <domain>"
exit
1
fi
DOMAIN
=
$1
DIR
=
/etc/opendkim/keys/
$DOMAIN
if
[
! -d
"
$DIR
"
]
then
echo
"Directory not found:
$DIR
"
exit
2
fi
for
f in
$DIR
/*.txt
do
get-dkim-dns-entry
$f
done
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, Feb 28, 21:45 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2440536
Default Alt Text
get-dkim-dns-entries.sh (923 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment