SMTP Mail Marketing Bar

Source: Internet
Author: User
Tags domain name server

SPF Settings Description:

First you have to have your own domain name. There is no way to set SPF. SPF is a TXT record for a domain name.

If your mailbox server is an enterprise mailbox service provider, you can include the service SPF record directly in your SPF

such as QQ to do the domain name Mailbox server can be set

V=SPF1 include:spf.mail.qq.com ~all
Copy Code
Specific to your email service provider should include what address, please consult the corresponding email service provider.

If you are a self-built server or use the Hello domain directly in two situations:

1. If your IP (public network) is fixed (or can be maintained for several days), you can set the following (recommended IP settings SPF)

V=SPF1 ip4: Your IP ~all
Copy Code
For example, if your IP assumption is 123.123.123.123, the SPF record is

V=SPF1 ip4:123.123.123.123 ~all
Copy Code
2. If your IP is dynamic, please make a dynamic domain point to your server (or the computer where the machine is located), and then set the SP

V=SPF1 mx: Server domain name ~all
Copy Code
For example, if your server makes a domain name pointing to mail.abcd.com, the SPF record is

V=SPF1 mx:mail.abcd.com ~all
Copy Code

If you want to know the detailed format of SPF, look down.

The SPF detailed format is as follows:

V=SPF1 [[Pre] type [ext]] ... [MoD]
The meaning of each parameter is shown in the following table: Parameter description
V=SPF1 version of SPF. If you use the Sender ID, this field should be V=SPF2

The pre defines the return value when matching.

Possible return values include: return value description
+ Default value. Pass when the test is complete.
-Indicates that the test failed. This value is usually-all, indicating that no other match has occurred.
~ Indicates a soft failure, usually indicating that the test was not completed.
? Express a noncommittal. This value is also usually used when the test is not completed.

Type defines the types of validation tests that are used.

Possible values include: Candidate Value description

The include contains a test for a given domain name, written in include:domain form.

All terminates the test sequence. For example, if the option is-all, then reaching this record means that the test failed. However, if you are unsure, you can use "? All" to indicate that the test will be accepted.

IP4 is validated using IPV4.
This can be used in the form of Ip4:ipv4 or IP4:IPV4/CIDR. It is recommended to use this parameter to reduce the load on the domain name server.

IP6 is validated using IPV6.

A use a domain name for verification.
This will cause a one-RR query to be made to the domain name server. Can be used in the form of A:domain, A:DOMAIN/CIDR or A/CIDR.

MX uses DNS MX RR for authentication.
The MX RR defines the receiving MTA, which may be different from the sender's MTA, and the MX-based test will fail.
MX validation can be done in Mx:domain, MX:DOMAIN/CIDR, or Mx/cidr form.

PTR uses the domain name server's PTR RR for validation.
At this point, SPF uses PTR RR and reverse graph to query. If the host name returned is within the same domain name, the validation is passed.
The notation for this parameter is Ptr:domain

exist verify the existence of the domain name.
Can be written in exist:domain form.

EXT defines an optional extension to the type. If this field is not available, then only a single record is used to inquire.

MoD This is the last type indication, as a correction value for the record.
Fix Value Description

REDIRECT redirects the query, using the given domain name for the SPF record.
Used in a redirect=domain manner.

Exp This record must be the last one, allowing a custom failure message to be given.
In TXT "V=spf1 mx-all exp=getlost.example.com"
Getlost in TXT "is not authorized-to-send mail for the domain"

After you finish the SPF record, you can verify from the command prompt whether the added SPF record is in effect and that the record is correct.
Click Start, search cmd and open, directly enter the command nslookup-q=txt ' SPF record corresponding domain name ', click Enter

http://tieba.baidu.com/p/3166555301

SMTP Mail Marketing Bar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.