Security/Domain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 5: | Line 5: | ||
echo && cd /opt/cli/spf-tools/ | echo && cd /opt/cli/spf-tools/ | ||
./despf.sh -h | ./despf.sh -h | ||
EXE | |||
</syntaxhighlight> | |||
---- | |||
<syntaxhighlight lang="bash"> | |||
cat <<'EXE'| sudo bash | |||
# abs path issue persist | |||
cd /opt/cli/spf-tools;for s in *.sh;do | |||
if [ -f "${s}" ];then ln -s ${PWD}/${s} /usr/local/bin/spf-${s%.*};fi | |||
done | |||
EXE | EXE | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:49, 30 May 2025
Tools » Install » SPF
cat <<'EXE'| sudo bash
echo && git clone https://github.com/jsarenik/spf-tools.git /opt/cli/spf-tools
echo && cd /opt/cli/spf-tools/
./despf.sh -h
EXE
cat <<'EXE'| sudo bash
# abs path issue persist
cd /opt/cli/spf-tools;for s in *.sh;do
if [ -f "${s}" ];then ln -s ${PWD}/${s} /usr/local/bin/spf-${s%.*};fi
done
EXE
cat <<'CFG'| tee ${HOME}/.spf-toolsrc >/dev/null
DOMAIN=shahed.biz
ORIG_SPF=spf.shahed.biz
DESPF_SKIP_DOMAINS=_spf.google.com:_spf.sendgrid.net
DNS_TIMEOUT=5
DNS_SERVER=1.1.1.1
CFG
Tools » Install » DKIM
cat <<'EXE'| sudo bash
apt-get update;echo
apt list -a --upgradable;echo
apt-get install -y opendkim-tools;echo;apt-get clean
EXE
DNS » Record » TXT » SPF
SPF TXT Record Format v=spf1 [mechanism] [qualifier] [modifiers] ...
|
|
DNS » Record » TXT » DKIM
Playground
dig MX chorke.org
dig TXT chorke.org
openssl s_client -connect mail.chorke.org:25
|
apt info opendkim-tools
apt search opendkim-tools
sudo apt-get install -y opendkim-tools
|
sudo git clone https://github.com/jsarenik/spf-tools.git \
/opt/cli/spf-tools
cd /opt/cli/spf-tools/
|
|
| ||
References
|
| ||
|
| ||