ÇáÓí ÈÇäÇá WHM/cPanel ãäÚ ÇÑÓÇá ÇáÇíãíá ÇáãÎÊÑÞ ãä ÓíÑÝÑ ÇÎÑ soft fail vs hard fail
ãÇ ÇáÝÑÞ Èíä ÚáÇãÉ ~ æåì Spf Soft fail æÚáÇãÉ - Spf Hard Fail
What is the difference between an SPF "hard fail" and "soft fail"?
How to setup SPF record on entire server for all domains?
how do I add this SPF record for all accounts, existing and new
SPF RECORDS (VPS & DEDICATED)
~all specifies how hosts should regard servers that are not on the list.
There are a few modifies you can use here:
- - all "Hard Fail" means reject all mail that isn't on the allowed list.
- ~ all "Soft fail" means accept mail not on the allowed list, but treat it with more scrutiny.
- ? all "Neutral" means accept all mail; there isn't a policy for servers not on the list.
ãÇ ÇáÝÑÞ Èíä ÚáÇãÉ ~ æåì Soft fail æÚáÇãÉ - hard fail Ýì SPF
What is the difference between an SPF "hard fail" and "soft fail"?
ÇáÇÝÊÑÇÖì Ýì SPF åæ Çä ßá ÇáÇíãíáÇÊ ÏÇÎá Email Deliver
ÈÊßæä Úáì ÚáÇãÉ
~ æåì Soft fail æÚáÇãÉ
- hard fail
ÚáÇãÉ ~ æåì Soft fail
ÊÌÚá ÇáÇíãíá íÎÑÌ ãä ÓíÑÝÑ ÇÎÑ ÛíÑ ÇáÇÓÇÓì
æíÕá ááÌåÉ ÇáÇÎÑ
áßä íßæä ãßÊæÈ ÈÌÇäÈ Çä SPF ÝÔá Ýì ÇáÊÍÞÞ áÐáß ÞÏ íÕá ÇáÇíãíá Çáì ÇáÓÈÇã.
By default, the system recommends the ~all entry. This entry instructs servers to accept mail from unmatched hosts, but warn that unauthorized hosts might have sent the messages.
ÚáÇãÉ - hard fail
ÊÌÚá ÇáÇíãíá áÇ íÎÑÌ ãä ÓíÑÝÑ ÇÎÑ ÛíÑ ÇáÇÓÇÓì æ
áÇ íÕá ááÌåÉ ÇáÇÎÑ
æãÝíÏ áæ åßÑ ÇÎÊÑÞ ÇáÇíãíá áÇ íÊÓØÚ ÇÑÓÇá SMTP ãä ÓíÑÝÑ ÇÎÑ ÊÍãíá ÇÓã ÇíãíáÇÊß
If you enable the Exclude All Other Hosts ("-all" Entry) setting, the SPF feature causes hosts that you do not define to fail.
A hard fail will cause the recipient mail server to reject any messages sent from any location not specified in the SPF record. A soft fail permits the recipient mail server to accept messages sent from any location not specified in the SPF record. Some email services will mark messages that soft fail the SPF check as suspicious or spam. SPF records should only be configured with soft fail while changes to the SPF record are being tested.
SPF examples
A
hard fail is designed by
- all (hyphen) at the end of the SPF record.
ßæÏ:
v=spf1 +a +mx +ip4 203.0.113.2 -all
A
soft fail is designed by
~ all (tilde) at the end of the SPF record.
ßæÏ:
v=spf1 +a +mx +ip4 203.0.113.2 ~all
ÊÝÚíá ÇÓ Èí ÇÝ SPF ÚáÇãÉ - ÈäÙÇã Hard Fail
ÇáÊÍÞÞ ãä æÖÚ SPF åá åæ Hard Fail Çã Soft Fail
Verifying if the SPF record is working
The quickest way to test if major mail providers are accepting your new SPF record is by sending a test email and reviewing the email headers.
ãä ÏÇÎá Cpanel Çæ Whm åÊÌÏ Email Deliverability
ßíÝ ÇáÊÍÞÞ ãä ÞíãÉ SPF ¿
The mail provider used for this test is Gmail.
You can find instructions on viewing email headers for a Gmail account here:
Google's View your email's full headers
Once obtaining a copy of the email headers for the test email, you can find the "Authentication-Results" by scrolling down through the headers. This section will house the results of the SPF Record currently in use by the domain. You'll want this value to be a "pass" and not "fail":
Should the value return "fail", then you may want to revisit the record and adjust the value once more. cPanel's Email Deliverability interface offers a recommended SPF record if you're unsure of how to compose this record.
ÔÇåÏ ÇíÖÇ
ÔÑÍ SFP æ DKIM æ ßíÝíÉ ÇáÊÍÞÞ ãä ÚãáåÇ PASSÔÑÍ ÊÝÚíá SFP æ DKIM Ýì WHM æ CPANEL ãÚ ÇáÊÍÞÞ ãä ÚãáåÇ PASSÇáãÑÌÚ:
https://support.cpanel.net/hc/en-us/...-and-soft-fail
https://support.cpanel.net/hc/en-us/...ds-are-working
https://docs.cpanel.net/cpanel/email...257.1696885008
https://support.cpanel.net/hc/en-us/...or-all-domains
https://copyprogramming.com/howto/ho...-record-in-whm
ÇáãÝÖáÇÊ