mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 06:05:55 +03:00
[GH-ISSUE #142] DKIM Signing clarification #153
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#153
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 @Flash1232 on GitHub (Apr 14, 2021).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/142
Just to make sure this is not some bug with the docker image:
Is it true that the
signing.tablefile as described in SELF-HOSTING.md will sign mail to both *.domain.com as well as the main domain.com aliases? When testing with the docker image I only receive DKIM signed mails when sending to xyz.domain.com. Mails sent to domain.com aliases simply don't have a DKIM signature.The docker image inserts *.domain.com blabla (
github.com/anonaddy/docker@d3573ee4a1/rootfs/etc/cont-init.d/03-config.sh (L272)) into thesigning.tablefile whereas the SELF_HOSTING.md describes to use*@*.domain.com. Is there any difference or do I even need to additionally make a line with just domain.com without prefix asterisk?Or am I doing something else incorrectly?
PS: There is a related issue in the docker repo: https://github.com/anonaddy/docker/issues/47 .
@willbrowningme commented on GitHub (Apr 16, 2021):
The
signing.tablefile should have both lines:The first line signs all emails at the apex domain (example.com) and the second line signs all emails that are subdomains of the apex domain (anything.example.com). Both with the same key.
It seems the docker image needs another line:
Also I would have thought the lines in the docker file should be:
Although I don't use Docker so I haven't tested this myself.
In the self-hosting instructions I mention "add this line too" meaning in addition to the one from the tutorial - https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf
I've moved over to Rspamd recently which can sign emails so I may update the self-hosting docs soon to describe how to use that instead.
@Flash1232 commented on GitHub (Apr 16, 2021):
Oh right, I got confused as I am using the docker image and just assumed this would be already present.
That would be great, and thanks for your work here! It is much appreciated :).