mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 17:36:01 +03:00
[GH-ISSUE #2892] opendkim adds key on sending message but hotmail tells the message is not signed #1710
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1710
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 @blackhold on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2892
Impacted versions
Steps to reproduce
Send an email to outlook mail account
Current behavior
I send an email to a outlook account and in mail.log appears:
But in headers of received mail I see:
my original domain is replaced by mydomain.com
If I use https://www.dmarcanalyzer.com/es/dkim-3/dkim-record-check/ tells dkim signature is ok
My dns configuration is:
My master.conf certificates configuration is
Dovecot's certificate configuration is (/etc/dovecot/conf.d/10-ssl-keys.try):
The other configuration is the default of the installer.
Expected behavior
DKIM signature appear in outlook mails and mail delivered to microsoft not enter to spam folder
@Spitfireap commented on GitHub (Mar 2, 2023):
Hi, does this happen with other recipients ? Have you waited for the DNS to propagate and for the TTL to be expired ?
@blackhold commented on GitHub (Mar 2, 2023):
With gmail mails enters OK
the domain is configured almost one week ago, so the propagation should be ok
@Spitfireap commented on GitHub (Mar 2, 2023):
This seems to be more on the microsoft side, or perhaps that your DNS server is taking too much time to respond.
@blackhold commented on GitHub (Mar 2, 2023):
wow! wait! I think I have solved!!! now I have these headers on microsoft mail and mail not entered in spam. I'm going to check for other domains right now
In DNS simply add this line
If it works, I propose to add the configuration in modoboa
@Spitfireap commented on GitHub (Mar 2, 2023):
DNS configuration is part of modoboa. Also, this TXT is just saying the same thing as
p=rejectfor DMARC, if this really fixed the issue, that's on Microsoft side to fix (you should open a case with them).@blackhold commented on GitHub (Mar 2, 2023):
are you kidding me? :P talk with microsoft to solve that problem? lol
Here I pase the working configuration for one of my domains, I'm trying with some more, but finally (crying! damn! finally!!!) got working mails for microsoft and them don't enters to spam
There are some commented lines related to old configuration, but I think the solution is to add the adsp entry to DNS. Now with p=none works.
Thanks you much for duck debugging :P
UPDATE: if I use p=quarantine; enters to spam, if I use p=none; enters to inbox folder (in microsoft email address)
UPDATE2: if this configuration also works
@blackhold commented on GitHub (Mar 2, 2023):
I'm trying to push the changes I propose but I don't have permissions. (/cc @tonioo)
In my local repository/branch I edited these files with this content:
modoboa/dnstools/templates/dnstools/domain_dns_configuration.html (lines 24-26)
modoboa/dnstools/templates/dnstools/domain_dns_configuration.html (lines 44-46)
Thanks
@tonioo commented on GitHub (Mar 3, 2023):
@blackhold You need to fork this repo, commit your changes in your fork and then create a pull request :)
@tonioo commented on GitHub (Mar 3, 2023):
But your issue is strange. You should not have to implement ADSP if you already have a DMARC policy. You might have an issue somewhere in your configuration...
I see this in your email headers:
dmarc=bestguesspass, it should bepassif everything is properly configured.@tonioo commented on GitHub (Mar 3, 2023):
https://wordtothewise.com/2015/05/dmarcbestguesspass/
@blackhold commented on GitHub (Mar 3, 2023):
Hi @tonioo I try this to fork and commit the changes.
For sure my domain is not mydomain.com :P in DNS I don't use in any case bestguesspass, I see it only appears in mail headers. I don't know in which part is changed to this value. In gmail this header isn't present.
I'm lot of years using modoboa (many thanks for this project!!! I would be delighted to be able to collaborate, when I started to use it, I never was able to mount a mail server and didn't know anything of django, now I have both knowledges thanks to you 🥰), and DNS configuration was always a problem, the thing that has always been pending is the mails to hotmail/outlook entered to spam, with adsp policy and right dmarc configuration seems the solution (in some domains I strictly use the DNS configuration you propose).