mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 06:05:55 +03:00
[GH-ISSUE #294] encrypted emails not forwarding #815
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#815
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mr-Sheep on GitHub (Jun 3, 2022).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/294
After pasting my PGP public key in the recipients tab, I tried to send a few test emails, but non arrived. A fail delivery pops up with the error code:
An error has occurred, please check the logs./var/log/mail.log:php -i | grep gnupg:nothing pops up in
/var/www/anonaddy/storage/logs/laravel-2022-06-03.log@willbrowningme commented on GitHub (Jun 16, 2022):
Hmm, are you sure there is nothing in the laravel logs? There definitely should be if it is saying there is a failed delivery.
@Mr-Sheep commented on GitHub (Jun 20, 2022):
apologies, I did not see the error message in the
laravel.logfile. the problem seems to be that anonaddy can't find the correct key to sign for the email; however, I did import the public key for johndoe@protonmail.com under the recipient tab.(actual email address redacted for privacy reasons :))
@willbrowningme commented on GitHub (Jun 20, 2022):
That error is actually referring to the private signing key that is missing on the server. The one that signs encrypted messages, and that you set in your
.envfile underANONADDY_SIGNING_KEY_FINGERPRINT.Please see the section "Adding your private key to sign emails" near the bottom of the self-hosting instructions.
@Mr-Sheep commented on GitHub (Jun 20, 2022):
I re-generated another gpg key using this command:
and replaced the value for
ANONADDY_SIGNING_KEY_FINGERPRINT=, the error messgae now becomes@willbrowningme commented on GitHub (Jun 20, 2022):
Did you make sure to generate the private key as the user that the web application is running as?
e.g. if your web application is run by user janedoe make sure you generate the key for that user and not some other sudo user e.g. johndoe.
@Mr-Sheep commented on GitHub (Jun 20, 2022):
that's it xD, thx for helping!
maybe consider adding a bold text in the https://github.com/anonaddy/anonaddy/blob/master/SELF-HOSTING.md?