Esta página vem da documentação do próprio provider, em inglês — a mesma do Terraform Registry.

Resource: yet_settings_mail_catch_all

Where mail to a domain's addresses that do not exist goes, instead of bouncing.

Note: Destroying it turns the catch-all off: such mail bounces again.

Example Usage

# Mail to any acme.dev address that does not exist reaches the list.
resource "yet_settings_mail_catch_all" "acme" {
  domain  = "acme.dev"
  address = yet_settings_mail_list.finance.address
}

Schema

Required

  • address (String) The address it all goes to — a person, a list, or anyone outside.
  • domain (String) One of the company's domains with mail.

Read-Only

  • id (String) The domain.

Import

In Terraform v1.5.0 and later, with an import block:

import {
  to = yet_settings_mail_catch_all.acme
  id = "acme.dev"
}

With terraform import:

# By the domain.
terraform import yet_settings_mail_catch_all.acme acme.dev