-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Description
Hi, long time ago when I first installed mailcow, I had to disable mail encryption because of reason I dont remember anymore.
Now I am migrating old centos 7 vps to new vps so I was thinking that I could now start using encryption becasue I did remember there was some script what can be used to do it later and I found it. I also found small issue with it.
| if [[ $(head -c7 "$file") != "CRYPTED" ]]; then |
if [[ $(head -c7 "$file") != "CRYPTED" ]]; then
Should be:
if [[ "$(head -c7 "$file")" != "CRYPTED" ]]; then
I was getting all sort of funny errors when I run it.
Same is most likely true with decrypt script
| if [[ $(head -c7 "$file") == "CRYPTED" ]]; then |
But I have not tested it because I do not need it.
Metadata
Metadata
Assignees
Labels
No labels