{{-- resources/views/filament/pages/dmarc-records.blade.php --}}
{{-- Header --}}

DMARC Record Configuration

Configure Domain-based Message Authentication, Reporting, and Conformance (DMARC) settings. This page shows how your current settings would appear as a DNS TXT record.

{{-- Current Settings --}}
{{-- Policy Settings --}}

Policy Settings

Policy {{ $this->settings['dmarc_policy'] ?? 'none' }}
Subdomain Policy {{ $this->settings['dmarc_subdomain_policy'] ?? 'none' }}
DKIM Alignment {{ $this->settings['dmarc_adkim'] ?? 'relaxed' }}
SPF Alignment {{ $this->settings['dmarc_aspf'] ?? 'relaxed' }}
Percentage {{ $this->settings['dmarc_percentage'] ?? 100 }}%
Testing Mode {{ isset($this->settings['dmarc_t']) && $this->settings['dmarc_t'] === 'y' ? 'Enabled' : 'Disabled' }}
Report Interval {{ $this->settings['dmarc_report_interval'] ?? 86400 }} seconds
{{-- Reporting Settings --}}

Reporting Settings

Aggregate Reports (RUA)
@forelse($this->getRuaDestinations() as $destination) {{ $destination }} @empty No destinations configured @endforelse
Forensic Reports (RUF)
@forelse($this->getRufDestinations() as $destination) {{ $destination }} @empty No destinations configured @endforelse
Reporting Options (FO) {{ implode(', ', $this->settings['dmarc_reporting'] ?? ['all']) }}
RUA Local Part {{ $this->settings['dmarc_rua_localpart'] ?? 'dmarc' }}
RUF Local Part {{ $this->settings['dmarc_ruf_localpart'] ?? 'dmarc' }}
{{-- Advanced Settings --}}

Advanced Settings

Non-existent Subdomain Policy (NP) {{ $this->settings['dmarc_np'] ?? 'Not set' }}
Public Suffix Domain Policy (PSD) {{ $this->settings['dmarc_psd'] ?? 'Not set' }}
{{-- DMARC Record Preview --}}

DMARC DNS Record Preview

Record Type: TXT
Name: _dmarc.yourdomain.com
Value:
{{ $this->getDmarcRecord($this->settings, 'yourdomain.com') }}
{{-- Explanation --}}

Record Components:

  • v=DMARC1 - Version identifier
  • p= - Policy ({{ $this->settings['dmarc_policy'] ?? 'none' }})
  • @if(!empty($this->settings['dmarc_rua'] ?? []))
  • rua= - Aggregate report destinations
  • @endif @if(!empty($this->settings['dmarc_ruf'] ?? []))
  • ruf= - Forensic report destinations
  • @endif @if(isset($this->settings['dmarc_percentage']) && $this->settings['dmarc_percentage'] != 100)
  • pct= - Percentage of messages to apply policy
  • @endif
  • adkim= - DKIM alignment ({{ $this->settings['dmarc_adkim'] ?? 'relaxed' }})
  • aspf= - SPF alignment ({{ $this->settings['dmarc_aspf'] ?? 'relaxed' }})
{{-- Action Buttons --}}
Manage Settings