Personal tools

From HEXONET Wiki

Jump to: navigation, search

xDNS (extended DNS) - X-SMTP (Email-Forwarding)

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!

X-SMTP Examples

mydomain.com. 3600 IN X-SMTP name@MAILFORWARD myemail@mail.com

Result: Emails sent to name@mydomain.com will be forwarded to myemail@mail.com.

mydomain.com. 3600 IN X-SMTP @MAILFORWARD myemail@mail.com

Result: Emails sent to any address *@mydomain.com (e.g. support@mydomain.com or info@mydomain.com) will be forwarded to myemail@mail.com ("Catchall").

abuse.mydomain.com. 3600 IN X-SMTP name@MAILFORWARD myemail@mail.com

Result: Emails sent to name@abuse.mydomain.com will be forwarded to myemail@mail.com.

*.mydomain.com. 3600 IN X-SMTP name@MAILFORWARD myemail@mail.com

Result: Emails sent to any subdomain of mydomain.com, but always using "name" as local part (i.e. name@test.mydomain.com or name@support.mydomain.com), will be forwarded to myemail@mail.com.

mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD recipient1@gmail.com
mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD recipient2@aol.com
mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD recipient3@gmx.net
mydomain.com. 3600 IN X-SMTP mailinglist@MAILFORWARD recipient4@hotmail.com
...

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 "mailinglist@mydomain.com" would reach recipient1@gmail.com, recipient2@aol.com, recipient3@gmx.net and recipient4@hotmail.com.