Open ownbay opened 10 years ago
gpg-mailgate.py doesn't bother with the database, it simply reads keys from the keyhome. Keys from the database are added to GPG via the gpg-mailgate-web/cron.py file. Try running cron.py and see if it throws errors regarding the database.
If cron.py works, use this command to see if public keys were added successfully:
sudo -u gpgmap /usr/bin/gpg --list-public-keys --homedir=/var/gpg/.gnupg
Yes, key is imported. In mail.log I see: relay=gpg-mailgate, delay=0.41, delays=0.15/0.01/0/0.25, dsn=2.0.0, status=sent (delivered via gpg-mailgate service)
In the mail header:
X-Gpg-Mailgate: Not encrypted, public key not found
Does the email address on the public key exactly match the target (delivered-to or something) email address of the email?
okay, I changed the following:
pg-mailgate unix - n n - - pipe flags= user=nobody argv=/usr/local/bin/gpg-mailgate.py ${recipient}
to:
gpg-mailgate unix - n n - - pipe flags= user=gpgmap argv=/usr/local/bin/gpg-mailgate.py ${recipient}
Now the mails are encrytped
header: X-GPG-Mailgate: Encrypted by GPG Mailgate
But I can't see any messagetext
View the email source (view source in thunderbird, show original in gmail) and see if there are issues. Make sure your email client is configured to view the plaintext.
I found no issues in the mail source. but there is no message text.
So even in mail source there is no message text?
no message text in the source
today I configured gpg-mailgate. No mail is encrypted. I think gpg-mailgate has problems to read the database settings from the gpg-mailgate.conf.