SPF Generator
spf_generateUse this when the user needs a new SPF record for their email provider. Returns a TXT record ready to publish, or explains what to set up instead when the provider does not need a root SPF include. mailX does not publish it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Email provider identifier. Google Workspace or Gmail = google. Microsoft 365, Office 365 or Outlook = microsoft. Amazon SES = amazon-ses. Common provider names are also accepted. | |
| domain_name | Yes | The domain to generate an SPF record for, e.g. example.com | |
| hard_fail_boolean | Yes | If true, uses strict -all policy (reject unauthorized senders). If false, uses soft ~all (mark but deliver). |