Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

zimbra DKIM (DomainKeys identified Mail)

zimbra DKIM (Domainkeys identified Mail) include:
  1. Private-key insert header of email sending mail server.
  2. Public-key updated into DNS public.
Links to below you maybe likes:
zimbra custom spamassassin rules
How to create auto Bcc for Recipient mails for Zimbra 8.6
How to add spam filters on zimbra 8.6
How to create auto Bcc for sender mails for Zimbra 8.6
list accounts that has not logged in for the last x days in zimbra







zimbra DKIM (DomainKeys identified Mail)

Step 1: To configure zimbra DKIM
To add DKIM data into domain not existing DKIM
/opt/zimbra/libexec/zmdkimkeyutil -a -d huuphan.com
The output as bellow
DKIM Data added to LDAP for domain huuphan.com with selector 0E9F133A-9577-11E1-AD0E-2A2FBBAC6BCB
 Public key to enter into DNS:
 0E9F133A-9577-11E1-AD0E-2A2FBBAC6BCB._domainkey IN TXT "v=DKIM1;=rsa;
 p=MIGfMA0GCXXXSSFWwfdfdfEEAA4GNADCBiQKBgQDY5CBg15nZ2vYnRmrNub6Jn6ghQ2DXQbQgOJ/E5IGziUYEuE2OnxkBm1h3jived21uHjpNy0naOZjLj0xLyyjclVy1chrhSbsGAhe8HLXUsdXyfRvNTq8NWLsUnMEsoomtJCJ
 /4GSWYU1whOQ9oKZVAwWHSovAWZpByqNMZmFg7QIDAQAB" ; ----- DKIM 0E9F133A-9577-11E1-AD0E-2A2FBBAC6BCB for huuphan.com
After created key, then update DNS with text recor is public-key a top.

How to update zimbra DKIM data for domain
/opt/zimbra/libexec/zmdkimkeyutil -u -d huuphan.com

How to retrieving zimbra DKIM
/opt/zimbra/libexec/zmdkimkeyutil -q -d huuphan.com

How to delete zimbra DKIM data for domain
/opt/zimbra/libexec/zmdkimkeyutil -r -d huuphan.com

Step 3: To Add zimbra DKIM into in public DNS will looks like
0E9F133A-9577-11E1-AD0E-2A2FBBAC6BCB._domainkey 14400 IN TXT v=DKIM1;=rsa;
 p=MIGfMA0GCXXXSSFWwfdfdfEEAA4GNADCBiQKBgQDY5CBg15nZ2vYnRmrNub6Jn6ghQ2DXQbQgOJ/E5IGziUYEuE2OnxkBm1h3jived21uHjpNy0naOZjLj0xLyyjclVy1chrhSbsGAhe8HLXUsdXyfRvNTq8NWLsUnMEsoomtJCJ
 /4GSWYU1whOQ9oKZVAwWHSovAWZpByqNMZmFg7QIDAQAB

Step 4: How to test zimbra DKIM
Have a multiple websites for tesst zimbra DKIM. For example, http://dkimvalidator.com

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com