domain_for_unqualified_recipient_addresses
Name
domain_for_unqualified_recipient_addresses — configure a domain which will be used to resolve delivery for unqualified addresses
Synopsis
Domain_for_unqualified_recipient_addresses = "example.com"
Description
RFC-2821, section 4.5.1, requires that all compliant MTA's accept the special address of "RCPT TO:Domain_for_unqualified_recipient_addresses
will actually support any unqualified e-mail address. For example, a site may wish to also support "RCPT TO:
When set, Domain_for_unqualified_recipient_addresses
will rewrite the envelope address internally, although the original "RCPT TO:" is still available from Sieve during all rcptto and data phases, using vctx rcptto_string
. The envelope address is actually rewritten before the each_rcpt phases, and will now use the expanded address when relayed to the final destination. The trace headers, however, will reflect the original "RCPT TO" string. NOTE that the "TO:" header in the e-mail is never rewritten.
Domain_for_unqualified_recipient_addresses
is valid in either a global scope (for a single fallback domain for all unqualified addresses) or can be set in a Pathway scope (for specific fallback domains for any number of specific domains). The more specific Pathway scope overrides any existing value set in a global scope.
To accept unqualified "Postmaster" mail for the entire MTA, one would specify
domain_for_unqualified_recipient_addresses = "example.com"
which would rewrite any message sent to "RCPT TO:
Scope
Domain_for_unqualified_recipient_addresses is valid in pathway, pathway_group, global and listener scopes.