How to set up Email encryption using the Horde webmail client?
We are going to set up two email accounts and access it using webmail. Generating Keypairs to implement OpenPGP to encrypt the mail connection between two email accounts.
Prerequisite:
Set up a domain in Cpanel. Update the proper MX records. Create two email accounts in cpanel and make sure it is working. Here I have created two email accounts:
- admin@mailsent.xyz
- accounts@mailsent.xyz
Steps:
- Open the email account (admin@mailsent.xyz) using the Horde webmail client and Navigate to the PGP settings
Enable the PGP functionality to this email account
Create the PGP key pairs and copy the public key and save it on another location.
View and save the public key
Click “Enter passphrase” and upload it.
2. Do the same procedure for your other email account “ accounts@mailsent.xyz”. Create the Key pairs and take the public key available with you.
3. Exchange the public keys of both accounts. Import the public key of email1 to email 2 and import the public key of email 2 to email 1.
3. Then proceed with sending the mails with encryption.
Enter the passphrase of the admin email to send the email.
5. Decrypt and view the received email
Mail sent from admin email to accounts email. Now it asks passphrase to view the message on the account’s email end.
Note: Enter the Account’s email passphrase to open this email
Enter the passphrase