<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# API Reference — Configuring Secure Email Gateway

## Exchange Online PowerShell
```powershell
Connect-ExchangeOnline -UserPrincipalName admin@example.com
Get-HostedContentFilterPolicy | Format-List
New-HostedContentFilterPolicy -Name "Policy" -SpamAction Quarantine
Get-TransportRule | Format-Table Name, State, Priority
```

## Postfix
```bash
postfix check
postconf -n
postfix reload
mailq
```

## openssl — SMTP TLS Testing
```bash
openssl s_client -starttls smtp -connect mx.example.com:25 -brief
```
