Initial commit

This commit is contained in:
2026-05-16 12:05:36 -03:00
parent 0ce972a361
commit e82cee97a7
65 changed files with 9051 additions and 5 deletions
+36
View File
@@ -0,0 +1,36 @@
app:
name: "DMARC Sentinel"
base_url: "https://sentinel.tukutoi.com"
timezone: "Europe/Zurich"
poll_interval_minutes: 30
database_url: "sqlite:///data/test-main.sqlite3"
log_level: "INFO"
max_attachment_decompressed_mb: 20
max_reports_per_poll: 200
security:
dashboard_auth_enabled: false
api_token_required: false
llm:
provider: "openai"
api_key_env: "OPENAI_API_KEY"
model: "gpt-4.1-mini"
inboxes:
- id: "tukutoi"
label: "Tukutoi"
domain: "tukutoi.com"
imap_host: "mail.tukutoi.com"
username_env: "TUKUTOI_IMAP_USER"
password_env: "TUKUTOI_IMAP_PASSWORD"
folder: "DMARC"
recipient: "dmarcreports@tukutoi.com"
enabled: true
known_senders:
tukutoi.com: []
alerts:
email:
enabled: false
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<feedback>
<report_metadata>
<org_name>google.com</org_name>
<email>noreply-dmarc-support@google.com</email>
<extra_contact_info>https://support.google.com/a/answer/2466580</extra_contact_info>
<report_id>sample-report-1</report_id>
<date_range>
<begin>1778716800</begin>
<end>1778803200</end>
</date_range>
</report_metadata>
<policy_published>
<domain>tukutoi.com</domain>
<adkim>r</adkim>
<aspf>r</aspf>
<p>none</p>
<sp>none</sp>
<pct>100</pct>
<fo>1</fo>
</policy_published>
<record>
<row>
<source_ip>203.0.113.10</source_ip>
<count>25</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>fail</dkim>
<spf>fail</spf>
<reason>
<type>local_policy</type>
<comment>sample</comment>
</reason>
</policy_evaluated>
</row>
<identifiers>
<header_from>tukutoi.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>bad.example</domain>
<selector>x</selector>
<result>fail</result>
<human_result>body hash did not verify</human_result>
</dkim>
<spf>
<domain>bad.example</domain>
<scope>mfrom</scope>
<result>fail</result>
</spf>
</auth_results>
</record>
</feedback>