Solved Autoresponder and DMARC

Unfortunately it's not working for me. Today I got a load of messages about mail being spam because key is not found, I will report in the thread which was liked to.
Did you create a DKIM entry for your server hostname? I did this:
Code:
/usr/local/directadmin/scripts/dkim_create.sh $(hostname -f)

I had to do this first in order for the above to work because I don't have the server hostname set up as a domain on the server:
Code:
mkdir -p /etc/virtual/$(hostname -f); chown mail.mail /etc/virtual/$(hostname -f); chmod 711 /etc/virtual/$(hostname -f)
 
Did you create a DKIM entry for your server hostname? I did this:
Yes ofcourse.
I posted my issue and what I found in the original thread. Seems I'm not the only one having issues with this:
 
But this solutions does not use your server hostname anymore.

It configures the DKIM alignment with the domains of the users on your server. So if users having autoresponders or vacation messages set via directadmin exim sends via the mail of the real email set in the vacation or autorespnder. Because the DKIM is now aligned as the sender is the real sender. [email protected]

I think these issues you have come from the exim setup how it is aligning DKIM

Further info with my thoughts about this are in the other topic:
 
Last edited:
So if you still are sending out via your server hostname whith users who use their own domain then you should check your config of the server because then something is not correct.
Did you read the other thread where I linked too?
There I explained the issue. This fix might fix the autoresponders, but in the process breaks system messages send from the system (so from hostname like CSF firewall messages and other root messages for example).
You can be sure my server config is correct.
 
Thanks. I think we both now where/what the cause is, but question is if that is also fixable for this situation. :)
 
Back
Top