Commit Graph

4 Commits

Author SHA1 Message Date
Donncha O'Cearbhaill 3ed318e47d Use explict form of specifing $REAL_USER_ID and $EFFECTIVE_USER_ID
Dovecot can be setup to run as a virtual user, for example 'vmail'.
Sieve scripts are then run with the UID of root but the EUID of
the vmail user. GnuPG will not run if the EUID does not match the
UID as a measure to prevent the system letting it keep root privs.
http://lists.gnupg.org/pipermail/gnupg-users/2006-August/029109.html
2013-07-21 14:08:17 +01:00
Donncha O'Cearbhaill 89b29b1839 Run perl script with UID to match EUID
This helps avoid an error where GnuPG won't run if the uid does
not match the euid returning error like
"Error: secmem usage: 0/0 bytes in 0/0 blocks"
2013-07-21 01:29:58 +01:00
Etienne Perot a5816ef60e Add X-Gpgit-Execute header to all messages encrypted with gpgit, so that it is easier to tell which messages have been sent encrypted and which messages were merely encrypted by gpgit 2012-08-08 17:21:44 -04:00
Etienne Perot ccfa3194ff Updated README, cleaned some cruft out 2012-08-04 20:13:55 -04:00