You are not logged in.

#1 2013-12-20 15:34:23

Gasp0de
Member
Registered: 2012-12-24
Posts: 47

Need help from ecperienced sup (mail client) users

Hi there.
I'm just trying to set up an encrypted mailing list on my Raspberry Pi. Therefore, i wanted to use sup. The scenario is the following:
I register an E-mail adress with some Provider (e.g. gmail, doesn't matter, since all emails will be encrypted). I then install sup on my raspberry pi. I configure sup to get new mail every minute or so. Now here's the difficult part:
The E-Mail received will be encrypted, with the gmail adress' public pgp key. I want sup to decrypt the message, then forward it to several persons after reencrypting the mail with their public keys. I know that this is not the intention of sup, but so far, sup is the best suited program i found. If anyone could tell me how to configure sup so it does what i described, or if anyone knew a program or set of programs, that are more suited for this, i would be very grateful if you told me!

Cheers,
Gasp0de

PS: I think i probably need to use those hooks that sup has, i'm still reading about that stuff.

Last edited by Gasp0de (2013-12-20 15:34:46)

Offline

#2 2013-12-20 15:47:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Need help from ecperienced sup (mail client) users

With a huge caveat that I've never done anything like this, you may want to consider offlineimap.  Offlineimap works very well with gmail and creates a local maildir (where emails are stored as text files within the directory structure).  If I needed to do what you describe, I'd start with offlineimap, and use a few scripts to manage the maildir where - decryption/re-encryption would be easier (I suspect) when you can just work on local files.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-12-20 16:06:30

Gasp0de
Member
Registered: 2012-12-24
Posts: 47

Re: Need help from ecperienced sup (mail client) users

Well, sup does work well with pgp. I've seen tutorials for using PGP with it, also including per-recipient rules (but haven't had the time to read them yet). So the main thing i'm asking for is how to create some rule to automatically forward incoming email to a list of recipients (preferably without adding anything like FWD in the subject, and/or email headers in the content). Decrypting/Encrypting incoming/outgoing mail shouldn't be too difficult.

Gasp0de

PS: Before anyone expresses security concerns, i am aware that this scenario is not a practical solution for any hosted services, as the email will at some time be available in cleartext on the server, but as i'm running the Raspberry Pi at home, and all listmembers trust me (as i will also be on the list) this shouldn't be a problem. I'd be interested in additional security concerns with my scenario!

Offline

Board footer

Powered by FluxBB