User Tools

Site Tools


pine_pine_set-up_pinegpg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pine_pine_set-up_pinegpg [2022/07/22 23:02] – Updated formatting adminpine_pine_set-up_pinegpg [2022/10/21 23:51] (current) – Disable gpg password cache admin
Line 12: Line 12:
  apt-get install alpine  apt-get install alpine
 </code> </code>
 +
 +==== Pine User Config ====
 +<code>
 +vi /home/user/.pinerc
 +user-domain=domainame.com
 +inbox-path={server.domain.com/user=username/ssl/novalidate-cert}INBOX
 +customized-hdrs=From: Firstname Surname <user@domain.com>
 +folder-collections={server.domain.com/user=username/ssl/novalidate-cert}INBOX.[]
 +</code>
 +With the above, you should be able to login to imaps and send emails.
  
 =====Add-In for Pine for Gnupg -- Pinepgp===== =====Add-In for Pine for Gnupg -- Pinepgp=====
Line 27: Line 37:
 When sending an email it will ask you for a "filter". Hit CTRL + N to select gpg sign. Additonal sending-filters can be added for encrypt etc. as on: http://computing.ee.ethz.ch/.doc/pgp/index.html#howtosetuppineforuseiwthgpg When sending an email it will ask you for a "filter". Hit CTRL + N to select gpg sign. Additonal sending-filters can be added for encrypt etc. as on: http://computing.ee.ethz.ch/.doc/pgp/index.html#howtosetuppineforuseiwthgpg
 </code> </code>
 +
 +==== GPG Password Cache ====
 +
 +In Debian bullseye when reading a gpg email, it will prompt for password and then spawn: /usr/bin/gpg-agent --supervised
 +Note this caches your GPG password. To prevent gpg password caching:
 +<code>
 +vi /home/user/.gnupg/gpg-agent.conf
 +#add the following
 +default-cache-ttl 0
 +</code>
 +Test. You can also kill the gpg-agent process, but setting cache to 0 is easier.
  
 ===== Automatic Login for Pine ===== ===== Automatic Login for Pine =====
pine_pine_set-up_pinegpg.1658527330.txt.gz · Last modified: 2022/07/22 23:02 by admin