mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 06:05:55 +03:00
[GH-ISSUE #344] Emails fail to deliver on custom domain #284
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#284
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 @ririko5834 on GitHub (Oct 9, 2022).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/344
Hello, I have my own anonaddy instance in docker and I have added custom domain in domains tab, added DNS records to it and DNS check has succeeded.
But emails sent to alias with that custom domain are not getting forwarded. (emails sent to alias with my default anonaddy domain or anonaddy username subdomain works)
@willbrowningme commented on GitHub (Oct 10, 2022):
You can see from the error message:
Command died with status 1: "php". Command output: In DkimSigner.php line 42That this is likely because you have not created or used the correct environment variables for:
ANONADDY_DKIM_SIGNING_KEYandANONADDY_DKIM_SELECTORwhich are required for signing custom domains.Please read the information in the docker repo here - https://github.com/anonaddy/docker#anonaddy
@ririko5834 commented on GitHub (Oct 10, 2022):
I didnt provide that, is it needed?
@ririko5834 commented on GitHub (Oct 10, 2022):
And how to get it? What should I fill there?
@willbrowningme commented on GitHub (Oct 10, 2022):
Please read the entire read me - https://github.com/anonaddy/docker#generate-dkim-privatepublic-keypair
@ririko5834 commented on GitHub (Oct 11, 2022):
I host anonaddy using portainer, but there is no option to run command for compose (stack). When I run it on vps it can't find docker-compose.yml file, I dont know where portainer stores it.
@ririko5834 commented on GitHub (Oct 11, 2022):
Generated dkim by running
curl https://github.com/anonaddy/docker/blob/master/rootfs/usr/local/bin/gen-dkim | shinside the docker container. But idk how do I generate GPG key.Also that cmd generated dkim key just for the main domain of my instance (not for the custom domain I have added in anonaddy dashboard). Email forwarding still fails for that custom domain, same error
@ririko5834 commented on GitHub (Oct 13, 2022):
@willbrowningme
@ririko5834 commented on GitHub (Oct 14, 2022):
@ririko5834 commented on GitHub (Oct 22, 2022):
@willbrowningme Please help me
@willbrowningme commented on GitHub (Oct 24, 2022):
You don't need to generate a GPG if you are not encrypting and signing messages.
@ririko5834 commented on GitHub (Oct 24, 2022):
So why its not working then? I created DKIM (using
curl https://github.com/anonaddy/docker/blob/master/rootfs/usr/local/bin/gen-dkim | shinside the docker container) but still getting the same error.@willbrowningme commented on GitHub (Oct 25, 2022):
Did you make sure to update
ANONADDY_DKIM_SIGNING_KEYto point to the absolute path of the DKIM private key you generated?@ririko5834 commented on GitHub (Oct 25, 2022):
No. Should I point it to path in the container - like
/data/dkim/anonaddy-domain.com.private?@ririko5834 commented on GitHub (Oct 25, 2022):
Added it and now it works, thanks