Educational configuration pattern

Gmail conservative policy — rollback

A structured starting point for Gmail conservative policy with emphasis on rollback.

Do not paste this unchanged into production. Replace documentation IPs, define authorization narrowly, check syntax against your release, and test with traffic you control.

Objective

This example demonstrates separation of identity, provider policy and authorization. It intentionally uses conservative values so operators can measure before increasing concurrency or rate.

Configuration

# Educational rollback example: Gmail conservative policy
# Replace all TEST-NET addresses and example domains.

<virtual-mta vmta-example>
    smtp-source-host 192.0.2.10 mail.example.com
</virtual-mta>

<domain *>
    max-smtp-out 1
    max-msg-per-connection 5
    retry-after 15m
    bounce-after 4d
</domain>

# Add the narrowest source or authenticated-user policy needed.
# Never enable open relaying.

Values to replace

Validation

  1. Validate syntax with the tools supplied in your installation.
  2. Confirm the source IP exists and has a valid route.
  3. Submit a controlled message and inspect queue selection.
  4. Inspect received headers and Authentication-Results.
  5. Confirm that an unauthorized sender or network is rejected.

Rollback

Restore the saved configuration, reload safely, and verify that queues are using the previous policy. Keep the failed change and its logs for post-incident review.

Search Trushilla Documentation