-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[FR] send automated DMARC reports to servers #2636
Comments
This issue has become stale because it has been open for 20 days without activity.
|
I'd really like to help with this, because i would also like to have this feature. But I really don't know which component of docker-mailserver might be responsible for this. In Mailcow, it is rspamd, which is not used in docker-mailserver. Does SpamAssassin support this? |
I just browsed the page to compare rspamd and other ones And it seems to say it supports sending dmarc reports |
I am closing this one, since I intend to change mail server software |
@williamdes Why are you closing this? There are still users wanting this feature (including me) in docker-mailserver. |
So since I've moved to rspamd some time ago, I gave it another try. It is possible to setup DMARC reporting with the current state of docker-mailserver, but it requires some adjustments. You first need to make sure, that you are using rspamd ( Create a mailbox for DMARC reports(I think) you need to create an own mailbox (or alias) for the DMARC reports, so that rspamd is able to authenticate itself with your mailserver. But this is just an assumption. I've created an alias for this.
Configuring rspamdYou can configure rspamd from your host (persists container restarts and updates) using an override. You propably have a Docker bind mount to
See the documentation for all options: https://rspamd.com/doc/modules/dmarc.html#reporting This only configures COLLECTION of reports, but it does not send them. You need to do this periodically (see next heading). Creating a crontab entry for sending the reportsYou need to call the command #!/bin/bash
set -e
CRONTAB_LINE="0 0 * * * rspamadm dmarc_report >/dev/null 2>&1" # send at 00:00 daily
(crontab -l 2>/dev/null; echo "$CRONTAB_LINE") | crontab -
echo "user-patches.sh successfully executed" # <-- this should be visible in the logs while docker-mailserver starts up Important: In my case, Hope this helps! |
Feature Request
I would like my server to send dmarc reports like Google does each day. That would allow other admins to get reports for emails the server handles.
Context
Related to mailcow/mailcow-dockerized#3247
Is your Feature Request related to a Problem?
No
Describe the Solution you'd like
An ENV to enable the feature and the feature itself
Are you going to implement it?
No
What are you going to contribute??
Nothing
Additional context
Alternatives you've considered
None
Who will that Feature be useful to?
Domains that receive emails sent from the server
What have you done already?
Nothing
The text was updated successfully, but these errors were encountered: