Lassej.se är mina personliga sidor där det går att läsa om mina intressen.
Kika på bilder, kolla vädret i Kungsängen, Se övervakningsbilder och följa de projekt (ofta tekniska) som jag leker med.
New blog posts
Oct 3, 2018 by Lasse Jäderfeldt
För någon vecka sedan fick jag...
Sep 13, 2018 by Lasse Jäderfeldt
Nästa steg i utomhusmoderniseringen blir...
Aug 26, 2018 by Lasse Jäderfeldt
Trevlig semester om man bortser från den...
Jul 9, 2018 by Lasse Jäderfeldt
Årets semester: - Båtvakt,...
DKIM Signing tutorial
Posted on Oct 5, 2017 by Lasse Jäderfeldt
I made this tutorial since i was strugling with the setup myself before i got it to work. The benefit with DKIM signed email as a private email provider is that the emails will not be classified as spam as easy as if you dont have the signing.
Here are some instructions:
Setup of DKIM on hmailserver with loopia
- go to https://port25.com/dkim-wizard/
- fill in your domain name (example google.com)
- fill in your DomainKey Selector (I choose key1)
- Use 1024 bit key size since some service providers does not support 2048 yet
- Press create keys.
Now you get a screen with a public and a private key, but also an explanation below.
Open notepad/vi/Notepad++/atom or similar text editor and copy the public key. Keep “---- BEGIN…” in the copied text. Save this file as key1._domainkey.yourdomain.com .
go to your dns provider and add a subdomain to your domain. It should be named: key1_domainkey (if your key was named key1, otherwise use the name you choosed.)
Create a TXT field with no prio (0) and TTL set to 3600. Copy the public key without the “---BEGIN” and “END----” rows. Write this in the txt field in DNS:
t=s; k=rsa\; p=[insert your public key here]
SAVE and exit.
Now go back to the text on port25.com and copy the private key to a textfile. Name the file: Key1_domainkey.yourdomain.com.pem
Put the file on the server so that it can be opened by your mail software.
- open your domain setting
- go to TAB DKIM signing
- Click “Activate”
- Browse to the saved private key file
- Fill in the selector name Key1 (or whatever you named it)
- Use setting
- Press save.
Wait until your DNS has propagated the settings to you closest DNS server.
To verify that it works, go to the page: http://dkimvalidator.com/
copy the suggested e-mail address into your email software. Send the mail and head back to the webpage to see the result (after a few seconds up to 1-2 minutes afterwards)
If you have done everything right it should say ok or passed below the test text.