Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DKIM for base domain #111

Open
lpoujade opened this issue Feb 12, 2025 · 0 comments
Open

DKIM for base domain #111

lpoujade opened this issue Feb 12, 2025 · 0 comments
Labels
topic: mail Mail system configuration, security
Milestone

Comments

@lpoujade
Copy link
Contributor

Describe the bug

AgentJ web URL can, and often is, different than the mail domain. Default no-reply address use the web domain so in a classic setup it doesn't match the configured DKIM key which is only generated for manually created domains.
The result is validation mails which a bad DKIM signature

To Reproduce

  • install AgentJ on a different domain than the mail domain (eg web.domain.coop if mail domain is domain.coop)
  • create a domain and keep the default no-reply mail (no-reply@web.domain.coop)
  • send a mail to a protected email with an external server
  • examine DKIM signature of validation mail

Expected behavior

All mails sent from/via AgentJ must have a correct DKIM signature

  • when an instance is started for the first time, a DKIM key should be generated
  • corresponding public key should by local and super admins (with a DNS-ready format)
  • maybe we should be able to regenerate this key (only super admin)
  • maybe there should be a form somewhere to generate key from whatever domain we need (by super admin: visible for everyone, by local admin: only in their domain)

Additional context

@lpoujade lpoujade added the topic: mail Mail system configuration, security label Feb 12, 2025
@lpoujade lpoujade assigned lpoujade and unassigned lpoujade Feb 12, 2025
@marien-probesys marien-probesys added this to the Version 2.1 milestone Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: mail Mail system configuration, security
Projects
None yet
Development

No branches or pull requests

2 participants