search for: gpgit

Displaying 13 results from an estimated 13 matches for "gpgit".

2019 Oct 30
2
encrypt incoming emails with public gpg key before they are stored to maildir
Hello, I have asked on the postfix mailing list for a solution, how to encrypt incoming emails with public gpg key My original idea was to use a smtpd-milter, which would encrypt all incoming plaintext messages of given user, using the users public gpg key. This way, it would look as if the original sender has sent the message encrypted. Somebody suggested this might be better done in Dovecot,
2017 Apr 06
1
Using filter in an imapsieve script?
...lready stored > Apr 6 08:20:26 mbox2 dovecot: imap(tobster at brain-force.ch): Debug: sieve: Executing script from `/home/vmail/brain-force.ch/tobster/dovecot-crypt-sent.svbin' > Apr 6 08:20:26 mbox2 dovecot: imap(tobster at brain-force.ch): Debug: sieve: action filter: running program: gpgit > Apr 6 08:20:26 mbox2 dovecot: imap(tobster at brain-force.ch): Debug: Mailbox Sent: Opened mail UID=3800 because: mail stream From my understanding the logs looks fine. Just here > Debug: sieve: action filter: running program: gpgit I wonder if the parameter given to gpgit should be log...
2018 May 16
2
end-to-end encryption
Il giorno mer 16 mag 2018 alle ore 06:09 Aki Tuomi <aki.tuomi at dovecot.fi> ha scritto: > You could probably automate this with sieve and e.g. GnuPG, which would mean that all your mails are encrypted without server having key to decrypt this. Any guide or sample to look for ?
2018 May 16
1
end-to-end encryption
Il giorno mer 16 mag 2018 alle ore 11:19 <tobisworld at gmail.com> ha scritto: > I personally use gpgit https://github.com/EtiennePerot/gpgit > Which does the encryption of messages. Then I use a sieve script which > calls gpgit for every msg and encrypts before saving into mailbox If I understood properly, for this to work, a public key must be stored on server, so that every message is encry...
2017 Apr 05
4
Using filter in an imapsieve script?
...onment", "vnd.dovecot.filter", "variables", "imapsieve", "vnd.dovecot.pipe", "vnd.dovecot.execute"]; if anyof (environment :is "imap.cause" "APPEND", environment :is "imap.cause" "COPY") { filter "gpgit" "myuser at mydomain.tld"; } gpgit is a perl script that encrypts a given message using the users pub key and returns back the encrypted message As a sieve script for lmtp/lda it works fine and encrypted messages show up in the mailbox. But it does not work if it is used as imap sie...
2016 Jun 09
2
sieve_extprograms: how to filter original message twice?
...ss the _original_ message a second time. However, as expected, the second filter is applied to the already filtered message. For reference, here's a copy of the sieve script in question: if address :matches "To" "X at Y.Z" { fileinto "INBOX"; filter "gpgit.py" ["X at Y.Z", "--encrypt"]; fileinto "encrypted"; filter "gpgit.py" ["X at Y.Z", "--wrap"]; # Should be applied to the original message but uses the result of the first filter command fileinto "wrapped"; s...
2018 May 16
0
end-to-end encryption
Hi I personally use gpgit https://github.com/EtiennePerot/gpgit Which does the encryption of messages. Then I use a sieve script which calls gpgit for every msg and encrypts before saving into mailbox Cheers tobi Am 16.05.2018 um 10:24 schrieb Gandalf Corvotempesta: > Il giorno mer 16 mag 2018 alle ore 06:09 Aki Tuomi...
2016 Apr 25
3
Kernel panic in dovecot-ee-lmtp on Debian 8
Hi list I just realized that that I don not receive all mails in my mailbox (running dovecot-ee 2.2.23.1-1 on Debian 8). On my frontend servers (running postfix) the queue fills up with mails that cannot be delivered via lmtp to my backend servers. The error message on the frontend is "lost connection with backend while sending data" When I checked the logs on the backend server I found
2017 Apr 08
0
Using filter in an imapsieve script?
...dovecot.filter", "variables", "imapsieve", > "vnd.dovecot.pipe", "vnd.dovecot.execute"]; > > if anyof (environment :is "imap.cause" "APPEND", environment :is > "imap.cause" "COPY") { > filter "gpgit" "myuser at mydomain.tld"; > } This is not, because from https://tools.ietf.org/html/rfc6785#section-3.1: For all cases that fall under IMAP events in Sieve, the implicit keep means that the message is treated as it would have been if no Sieve script were run. For APPE...
2017 Feb 15
2
[Sieve] Is the way to run external script to get attachment?
...ttachment? How I see this: script executes and as arg receives from sieve attachment file, or message file and we can parse it for attachment. When we have attachment - upload to ownCloud via RESTapi and purge message. Found some realization for encrypt messages https://github.com/EtiennePerot/gpgit/blob/master/encmaildir.sh but for me more easy just connect to IMAP and do what I want (but I love sieve). Thanks. <http://wiki.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms>
2017 Apr 05
0
Using filter in an imapsieve script?
...dovecot.filter", "variables", "imapsieve", > "vnd.dovecot.pipe", "vnd.dovecot.execute"]; > > if anyof (environment :is "imap.cause" "APPEND", environment :is > "imap.cause" "COPY") { > filter "gpgit" "myuser at mydomain.tld"; > } > > gpgit is a perl script that encrypts a given message using the users pub > key and returns back the encrypted message > As a sieve script for lmtp/lda it works fine and encrypted messages show > up in the mailbox. But it does not w...
2015 Apr 26
1
Encrypt messages on filesystem
Hi, If for some reason I want the received messages to be automatic encrypted on the file system, how should/to do it? If there's any nice howto out there please let me know. Thanks in advanced,
2017 Feb 16
0
[Sieve] Is the way to run external script to get attachment?
...ript executes and as arg receives from sieve > attachment file, or message file and we can parse it for attachment. > When we have attachment - upload to ownCloud via RESTapi and purge > message. > > Found some realization for encrypt messages > https://github.com/EtiennePerot/gpgit/blob/master/encmaildir.sh > but for me more easy just connect to IMAP and do what I want (but I > love sieve). Do you really need Sieve for this? IMO such things are best handled in the SMTP server: 1) Set up an alias for the mail address receiving these mails. 2) Make that alias expand b...