Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

You must login to add post.

Generate DKIM, SPF and DMARC

Step 1. Modify DKIM generator

a. Edit (as root) script file /opt/zimbra/libexec/zmdkimkeyutil and replace all ‘2048’ occurrences with ‘1024’.
This will allow creation of DKIM key with length 1024 and set it as default value.

nano /opt/zimbra/libexec/zmdkimkeyutil

replace all 3 ‘2048’ occurrences with ‘1024’ and then save and exit

Step 2. generate a new DKIM, replace example.com with your domain. Please note you’ll need to generate a DKIM for each domain

switch to zimbra user : su – zimbra

/opt/zimbra/libexec/zmdkimkeyutil -a -d example.com

Step 3. Retrieving the stored DKIM data for your domain – replace example.com with your domain
as zimbra user run command below;

/opt/zimbra/libexec/zmdkimkeyutil -q -d example.com

[email protected]:~$ /opt/zimbra/libexec/zmdkimkeyutil -a -d example.com
DKIM Data added to LDAP for domain example.com with selector 0E9F184A-9577-11E1-AD0E-2A2FBBAC6BCB
Public key to enter into DNS:
5gegRR34-6456-1212d-ss34-fds34wefwr4._domainkey IN TXT “v=DKIM1;=rsa;
p=FJDHRJJDJDy548276859JDKHDKHJKDJHDHJADKHJDHDHDAJHKHDHJDHJKHEIUWIOQOEJODDKBCBCCBCNBMBCBAKKHOQWH87y76876868kKKSDKDNBKWHKDWKHDKKDHKDKWDKBD” ; —– DKIM 0E9F184A-9577-11E1-AD0E-2A2FBBAC6BCB for example.com

Step 4.
highlight and copy: 0E9F184A-9577-11E1-AD0E-2A2FBBAC6BCB._domainkey

highlight and copy: v=DKIM1; k=rsa;

highlight and copy: p=FJDHRJJDJDy548276859JDKHDKHJKDJHDHJADKHJDHDHDAJHKHDHJDHJKHEIUWIOQOEJODDKBCBCCBCNBMBCBAKKHOQWH87y76876868kKKSDKDNBKWHKDWKHDKKDHKDKWDKBD

Step 5. verify DKIM key using this link http://dkimcore.org/tools/keycheck.html

Step 6.

– login to your DNS web portal
– create new TXT entry

– add the 0E9F184A-9577-11E1-AD0E-2A2FBBAC6BCB._domainkey in the hostname field

– add the public DKIM key into destination / target field
v=DKIM1; k=rsa; P=FJDHRJJDJDy548276859JDKHDKHJKDJHDHJADKHJDHDHDAJHKHDHJDHJKHEIUWIOQOEJODDKBCBCCBCNBMBCBAKKHOQWH87y76876868kKKSDKDNBKWHKDWKHDKKDHKDKWDKBD

for SPF

Create SPF
https://mxtoolbox.com/SPFRecordGenerator.aspx?domain=domainname

create new TXT entry
hostname = @
rDATA = v=spf1 mx ip4:1.1.1.1 ~all

For DMARC

create new TXT entry
hostname = _dmarc
rDATA = v=DMARC1; p=quarantine; rua=mailto:[email protected]; ruf=mailto:[email protected]

create new TXT entry
hostname = domain.com._report._dmarc
rDATA = v=DMARC1; ruf=mailto:[email protected]

admin

admin

Enlightened

I like to receive and deal with challenging tasks. I am a very enthusiastic person and I think this is a strong point of mine. My friends say that I am a very funny with a good sense of humor. As soon as I meet new people who are happy to meet me, I feel extremely comfortable with them.

Leave a comment

You must login to add a new comment.