Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F53429751
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
930 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
Sun, Oct 11, 21:29 (16 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4091324
Default Alt Text
get-dkim-dns-entries.sh (930 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment