Encrypt data

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
jose.maria.martins
New user
New user
Posts: 6
Joined: 2018-09-09 21:49

Encrypt data

Post by jose.maria.martins » 2018-09-09 21:55

Hi
I have read viewtopic.php?t=18473, but it's old :(
How do i encrypt the date but not prevent the correct operation of hmail?

User avatar
jimimaseye
Moderator
Moderator
Posts: 10053
Joined: 2011-09-08 17:48

Re: Encrypt data

Post by jimimaseye » 2018-09-09 22:00

5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

jose.maria.martins
New user
New user
Posts: 6
Joined: 2018-09-09 21:49

Re: Encrypt data

Post by jose.maria.martins » 2018-09-09 22:34

And if i want encrypt data?

User avatar
jimimaseye
Moderator
Moderator
Posts: 10053
Joined: 2011-09-08 17:48

Re: Encrypt data

Post by jimimaseye » 2018-09-09 22:40

3rd party product would be your best option. To be honest the considerations now are still the same as those in the thread you linked.

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

jose.maria.martins
New user
New user
Posts: 6
Joined: 2018-09-09 21:49

Re: Encrypt data

Post by jose.maria.martins » 2018-09-09 22:44

if I encrypt data hmail is going to work ok?
In webmail client i can read e-mails normaly or no?

User avatar
mattg
Moderator
Moderator
Posts: 22435
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Encrypt data

Post by mattg » 2018-09-09 23:25

I'm not sure what you want to encrypt

Can you explain in more detail exactly what you want to encrypt...

I see three possibles
#1 Encrypted connections between your hMailserver and other MTAs, and between your hMailserver and mail clients. This would be achieved by using SSL Certificates (and a few settings). You can use self signed, however a commercial certificate is better. I use LetsEncrypt certs which are free.

#2 Encrypted hard drive. This would be to allow your computer to function normally, but may be set so that on restart a password needs to be entered. This would also render the drive unreadable if the drive were stolen or removed from the computer. This is great for External Hard Drives. Windows since Windows 10 has built in 'bit locker' software.

#3 Message level encryption. This is where mail clients encrypt and digitally sign messages as they are created. The encrypted message is sent via hMailserver (like any other email) to a known recipient. The known recipient will have the requisite keys to 'decrypt' the message, built into their mail client. This message can not be read by anyone else who sees it or finds it on a hard drive somewhere, UNLESS they also have the requisite keys. This means that a message that has message level encryption cannot be snooped upon by Mail admins (or the government).

If it is NOT one of these, can you please provide some extended detail about what you want to encrypt, and what you are hoping to achieve by doing so.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

sunny_jk
New user
New user
Posts: 1
Joined: 2018-10-21 20:26

Re: Encrypt data

Post by sunny_jk » 2018-10-21 20:29

If you want to encrypt decrypt code in C#, here is the link
https://qawithexperts.com/article/c-sha ... xample/169

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Encrypt data

Post by Dravion » 2018-10-25 07:30

Your best bet by encrypting the SQL-Database and the Data Folder transparently is by using Microsoft own Harddisk Encryption tool Bitlocke.Its avaibe in Win 10 Pro and Server 2016 but not in Win 10 Home.

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Encrypt data

Post by Dravion » 2018-11-22 14:40

Checkout this Hardware Encryptionguide, tailored for hMailServer and adapt it to your needs

viewtopic.php?f=21&t=33278

Post Reply