XDNS X SMTP: Difference between revisions

From Webhosting24 Wiki
local>ImportBot
Imported from old wiki
 
m 1 revision imported
 
(No difference)

Latest revision as of 11:56, 14 March 2025

<sidebar>

</sidebar>

xDNS (extended DNS) - X-SMTP (Email-Forwarding)[edit]

X-SMTP Records[edit]

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!

X-SMTP Examples[edit]

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].