Sécuriser l’acheminement du courrier
ToPour securesécuriser yourvotre mailserveur serverde andmessagerie theet deliveryl’envoi ofde yourvos e-mails, wenous recommendvous thatrecommandons youd’utiliser useles thetrois followingprotocoles threesuivants protocols::
SPF
TheLe Sender Policy Framework (SPF) allowspermet tode declaredéclarer yourvotre mailserveur serverde asmessagerie authorizedcomme toétant originateautorisé mailà forémettre yourdu domain(courrier pour votre (vos) domaine(s).
ToPour configurele it,configurer, youvous haven’avez toqu’un addseul aenregistrement singleDNS dnsà record:ajouter :
Type: TXT
Host: @
(depending of your DNS provider, it can be your domain name example.com
, a blank string, a @
, etc.)
Value: v=spf1 include:_spf.hosterra.tech ~all
DKIM
DomainKeys Identified Mail (DKIM) is an e-mail authentication method designed to combat mail spoofing.
To configure it, you have to add two dns records. To get these two specific records, just access the Plesk interface of your server, then:
- click, in the left side menu, on Mail;
- click the Mail Settings tab;
- check the Use DKIM spam protection system[…] at the bottom of the page;
- get the 2 dns records to add by clicking on How to configure external DNS.
DMARC
Once SPF and DKIM are configured and operational, you can set Domain-based Message Authentication, Reporting and Conformance (DMARC), a standard email authentication protocol by just adding one more dns record:
Type: TXT
Host: @_dmarc
Value: v=DMARC1; p=reject; pct=100
If you configure DMARC before configuring AND validating SPF and DKIM, you will be unable to correctly send emails from your server.
Testing you configuration
To test your SPF + DKIM + DMARC configuration, you can uses tools like: