From HEXONET Wiki
(Created page with "{{Sidebar}}__NOTOC__ == xDNS (extended DNS) - X-SMTP (Email-Forwarding) == === X-SMTP Records === X-SMTP records have the following syntax: <pre> www.domain.com. 3600 IN X-SMT...") |
|||
(One intermediate revision by one user not shown) | |||
Line 23: | Line 23: | ||
'''Result:''' | '''Result:''' | ||
Emails sent to '''any''' address *@mydomain.com (e.g. [email protected] or [email protected]) will be forwarded to ''[email protected]'' ("Catchall"). | Emails sent to '''any''' address *@mydomain.com (e.g. [email protected] or [email protected]) will be forwarded to ''[email protected]'' ("Catchall"). | ||
+ | |||
+ | <pre> | ||
+ | abuse.mydomain.com. 3600 IN X-SMTP name@MAILFORWARD [email protected] | ||
+ | </pre> | ||
+ | |||
+ | '''Result:''' | ||
+ | Emails sent to ''[email protected]'' will be forwarded to ''[email protected]''. | ||
+ | |||
+ | <pre> | ||
+ | *.mydomain.com. 3600 IN X-SMTP name@MAILFORWARD [email protected] | ||
+ | </pre> | ||
+ | |||
+ | '''Result:''' | ||
+ | Emails sent to any subdomain of ''mydomain.com'', but always using "name" as local part (i.e. [email protected] or [email protected]), will be forwarded to [email protected]. | ||
+ | |||
+ | <pre> | ||
+ | mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] | ||
+ | mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] | ||
+ | mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] | ||
+ | mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] | ||
+ | ... | ||
+ | </pre> | ||
+ | |||
+ | '''Result:''' | ||
+ | You can easily manage mailinglists with the example above; just use one and the same record for more than one target address. | ||
+ | Is this example the address "[email protected]" would reach [email protected], [email protected], [email protected] and [email protected]. |
Latest revision as of 18:18, 23 February 2018
[edit] xDNS (extended DNS) - X-SMTP (Email-Forwarding)
[edit] X-SMTP Records
X-SMTP records have the following syntax:
www.domain.com. 3600 IN X-SMTP (local)@MAILFORWARD <target-email-address>
PLEASE NOTE: The secluding dot after the domain name (www.domain.com.) is required in any case!
[edit] X-SMTP Examples
mydomain.com. 3600 IN X-SMTP name@MAILFORWARD [email protected]
Result: Emails sent to [email protected] will be forwarded to [email protected].
mydomain.com. 3600 IN X-SMTP @MAILFORWARD [email protected]
Result: Emails sent to any address *@mydomain.com (e.g. [email protected] or [email protected]) will be forwarded to [email protected] ("Catchall").
abuse.mydomain.com. 3600 IN X-SMTP name@MAILFORWARD [email protected]
Result: Emails sent to [email protected] will be forwarded to [email protected].
*.mydomain.com. 3600 IN X-SMTP name@MAILFORWARD [email protected]
Result: Emails sent to any subdomain of mydomain.com, but always using "name" as local part (i.e. [email protected] or [email protected]), will be forwarded to [email protected].
mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD [email protected] ...
Result: You can easily manage mailinglists with the example above; just use one and the same record for more than one target address. Is this example the address "[email protected]" would reach [email protected], [email protected], [email protected] and [email protected].