Code Monkey home page Code Monkey logo

Comments (8)

uakfdotb avatar uakfdotb commented on August 9, 2024

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

from gpg-mailgate.

ownbay avatar ownbay commented on August 9, 2024

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

from gpg-mailgate.

uakfdotb avatar uakfdotb commented on August 9, 2024

Does the email address on the public key exactly match the target (delivered-to or something) email address of the email?

from gpg-mailgate.

ownbay avatar ownbay commented on August 9, 2024

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

from gpg-mailgate.

uakfdotb avatar uakfdotb commented on August 9, 2024

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.

from gpg-mailgate.

ownbay avatar ownbay commented on August 9, 2024

I found no issues in the mail source. but there is no message text.

from gpg-mailgate.

uakfdotb avatar uakfdotb commented on August 9, 2024

So even in mail source there is no message text?

from gpg-mailgate.

ownbay avatar ownbay commented on August 9, 2024

no message text in the source

from gpg-mailgate.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.