TMAegis
google-workspace için daha fazla kural

TMA-GWS-DMARC-RECORD

Ensure a DMARC policy of quarantine or reject is published

YüksekDüzey 1Otomatikgoogle-workspace

Açıklama

An enforcing DMARC policy tells receivers to quarantine or reject mail that fails SPF/DKIM alignment, stopping direct-domain spoofing. Checked from any POSIX shell with dig: set DOMAIN to the mail domain (e.g. DOMAIN=example.com). Fails if DOMAIN is unset or dig is missing.

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
command -v dig >/dev/null 2>&1 || exit 1; [ -n "$DOMAIN" ] || exit 1; out=$(dig +short TXT "_dmarc.$DOMAIN" 2>/dev/null) || exit 1; if printf '%s\n' "$out" | tr -d '" ' | grep -qiE '^v=DMARC1;(.*;)?p=(quarantine|reject)'; then echo compliant; else echo noncompliant; fi
Beklenen çıktı
compliant

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Publish TXT at _dmarc.<domain>, starting with v=DMARC1; p=none; rua=mailto:dmarc@<domain> to collect reports, then move to p=quarantine and p=reject once all legitimate senders align.

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
google-workspacemail-auth
Referans
CIS Google Workspace Foundations Benchmark v1.4.0 - Gmail / DMARC policy (verify section number for your release)

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target google-workspace