Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
surykatka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
surykatka
Commits
f2c18185
Commit
f2c18185
authored
Dec 01, 2021
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report missing SPF configuration
parent
ad6f2e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
src/surykatka/bot.py
src/surykatka/bot.py
+11
-1
No files found.
src/surykatka/bot.py
View file @
f2c18185
...
...
@@ -556,7 +556,17 @@ class WebBot:
}
)
if
"TXT"
not
in
checked_domain_dict
[
domain
]:
if
"TXT"
in
checked_domain_dict
[
domain
]:
if
'"v=spf'
not
in
checked_domain_dict
[
domain
][
"TXT"
]:
result_dict
[
"warning"
].
append
(
{
"text"
:
"(No spf configured: %s) "
%
str
(
checked_domain_dict
[
domain
][
"TXT"
])
+
domain
,
"date"
:
result_dict
[
"bot_status"
][
0
][
"date"
],
}
)
else
:
result_dict
[
"missing_data"
].
append
(
{
"text"
:
"(TXT) "
+
domain
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment