Skip to content

Conversation

@ctrl-i
Copy link
Contributor

@ctrl-i ctrl-i commented Jun 3, 2025

Currently if you add additional domains to ANONADDY_DOMAINS_ALL they are ignored and emails sent from any of these additional domains will fail DKIM validation. This pull request attempts to resolve this.

The user will need to add a number of DNS records to their registrar to fully implement the fix.

TXT ${ANONADDY_DKIM_SELECTOR}._domainkey.${YOUR_DOMAIN_NAME} ${PUBLIC_DKIM_KEY}
MX ${YOUR_DOMAIN_NAME} ${ANONADDY_DOMAIN}.
TXT ${YOUR_DOMAIN_NAME} "v=spf1 mx include:${ANONADDY_DOMAIN} ~all"
TXT _dmarc.${YOUR_DOMAIN_NAME} "v=DMARC1; p=reject; rua=mailto:postmaster@${YOUR_DOMAIN_NAME}; ruf=mailto:postmaster@${YOUR_DOMAIN_NAME}; pct=100; adkim=r; aspf=r"

gen-dkim has been amended to allow a value to be passed to it to help automate the process.

ctrl-i added 2 commits June 3, 2025 13:18
Allow the user to pass a value to the script.

This value should be a domain name.
Ensure all DKIM are created, including those in ANONADDY_ALL_DOMAINS
@ctrl-i ctrl-i requested a review from crazy-max as a code owner June 3, 2025 12:30
@willbrowningme willbrowningme merged commit df8b415 into anonaddy:master Jun 4, 2025
7 checks passed
@willbrowningme
Copy link
Member

Looks good to me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants