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
prevent vacation messages in response to Email reports #16288
Comments
Hi, I have never heard of this header before outside of But it seems reasonable and simple to add it. Since Matomo 4, Matomo uses phpmailer to send, so you probably want to add matomo/core/Mail/Transport.php Lines 30 to 43 in b090937
If you want to, please create a Pull Request with this change against Matomo 4.x-dev. |
Thank you for the fast reaction! It doesn't matter whether you set the parameter to "Auto-Submitted: auto-generated" or to "Auto-Submitted: yes". The only thing that matters is how in https://tools.ietf.org/html/rfc5230#section-4.6 described: "Implementations SHOULD NOT respond to any message that has an" Auto-submitted "header field with a value other than" no ". This header field is described in [RFC3834]." It should simply be prevented that a sieve filter sends a vacation notification as an automatic response to emails from the Matomo installation. My current version is "Matomo-Version: 3.14.0". There is no such file "Transport.php" here. In addition, changes to the code result in file integrity warnings. Perhaps this could be solved a little more elegantly by introducing a configuration parameter in the Matomo backend. |
Hi, What I was proposing was that you create a pull request here on Github to make the change for everyone, so that this is fixed when Matomo 4 will come out. But if you want to, I can also do it for you. |
Would you please create the pull request? Thank you so much! |
@Bad-and-Mad I created #16292 with the change. |
dear ladies and gentlemen,
would you possibly include a parameter "Auto-Submitted: yes"
for the header of the matomo-email-reports to prevent vacation messages?
as described at
https://tools.ietf.org/html/rfc5230#section-4.6
and
https://tools.ietf.org/html/rfc5230#section-5.6
Thank you
I added this in my case by "hardcoding" the ".../libs/Zend/Mail.php":
The text was updated successfully, but these errors were encountered: