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

Yunohost flags unmodified config-v1.1.xml as manually edited on disabling outgoing email #2300

Closed
ashledombos opened this issue Dec 26, 2023 · 1 comment
Labels
👾 bug Something isn't working 🔧 Configuration

Comments

@ashledombos
Copy link

ashledombos commented Dec 26, 2023

Context

  • Hardware: KVM image
  • YunoHost version: 11.2.8.2 (stable)
  • I have access to my server: Through SSH | through the webadmin

When creating a domain in Yunohost with the outgoing email option enabled, and later disabling the outgoing email, the file /var/www/.well-known/mondomaine.org/autoconfig/mail/config-v1.1.xml is mistakenly flagged as manually modified by Yunohost. This issue occurs both through the web interface and via the command line. The issue arises when disabling the mail_out feature but not with the mail_in feature, as demonstrated by the following commands:

~$ sudo yunohost domain config set monomaine.org feature.mail.mail_in -v 0
Info: Saving the new configuration...
Success! Config updated as expected
~$ sudo yunohost domain config set monomaine.org feature.mail.mail_out -v 0
Info: Saving the new configuration...
Warning: The configuration file '/var/www/.well-known/mondomaine.org/autoconfig/mail/config-v1.1.xml' has been manually modified and will not be updated
Success! Configuration updated for 'postfix'
Success! Configuration updated for 'dovecot'
Success! Config updated as expected

The file config-v1.1.xml appears to be incorrectly marked as manually modified, which is not the case.

To reproduce

  1. Create a domain with the outgoing email feature enabled.
  2. Disable the outgoing email feature for the domain.
  3. Observe the warning regarding the file /var/www/.well-known/mondomaine.org/autoconfig/mail/config-v1.1.xml being flagged as manually modified.

Expected behavior

The file config-v1.1.xml should not be flagged as manually modified when the mail_out feature is disabled, as this is a standard operation through the Yunohost interface or command line.

@ashledombos ashledombos added the 👾 bug Something isn't working label Dec 26, 2023
@alexAubin
Copy link
Member

Duplicate of #2143

@alexAubin alexAubin marked this as a duplicate of #2143 Jan 27, 2024
@alexAubin alexAubin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👾 bug Something isn't working 🔧 Configuration
Projects
None yet
Development

No branches or pull requests

2 participants