Welcome to the mailbox user forum
 

Forward email then encrypt

Kamil Szymkowiak shared this idea 8 months ago
Proposed

Hi,

i use mailbox encryption with PGP. I have one alias that emails send to it should be forwarded to other mail provider, then moved into directory and should be encrypted.

I create mail rules:

1. Conditions to Contains mail@example.com.
Actions: Redirect to otheremail@gmail.com, File into INBOX/test
Process subsequent rules checked.
2. Inbox encryption

Emails are correctly forwarded, moved into INBOX/test but as unencrypted form. Can i setup that this emails will be encrypted in my mailbox?

Replies (1)

photo
1

Hello.

With your current rule order, there is nothing left to encrypt in the inbox, as you have already moved the email to another folder with the previous rule.

It should work if you switch the order of the rules. First, the inbox encryption, then the rule with the redirect and saving the email in a folder. You can easily change the order of the two rules using drag and drop.

Your mailbox Support


---

mailbox Team

Useful Links:

d9e15a7fee470fb66af17115c3a43886

This comment is in trash! Restore
photo
1

Hi,

unfortunately, the recipient in the gmail.com domain receives an encrypted email - my goal is that the gmail.com recipient receive the plan text email, and only for me it remains encrypted.

This comment is in trash! Restore
photo
1

Any more help? :)

This comment is in trash! Restore
photo
1

Once again, I am asking for your support :)

This comment is in trash! Restore
photo
1

I managed to fix this by changing this line in the sieve rule:

from

redirect "acm@example.com";
to

redirect :copy "acm@example.com";
You'll need to research how to edit the sieve script directly. (I used emacs with has sieve editing built in.) And you will likely need an app password since most sieve editors aren't likely to support 2FA.

Since they already include the 'copy; module in the sieve file, it would be nice if we had a checkbox or something to include it in the UI. Once I made this change it appears I can make additional edits to the rule in the UI and the :copy parameter stays as long as I don't change the redirect action.

Oh, I also had to place this rule before the inbox encryption rule.

Good Luck!

This comment is in trash! Restore
photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!