[GH-ISSUE #3789] modoboa filters #1907

Closed
opened 2026-02-27 11:19:50 +03:00 by kerem · 20 comments
Owner

Originally created by @barsmutabor on GitHub (Nov 12, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3789

Impacted versions

  • OS Type: Debian
  • OS Version: 12
  • Database Type: MySQL
  • Modoboa: current
  • installer used: Yes
  • Webserver: Nginx

Unable to delete the only filter, error: "Unable to delete the active filtering script".

Originally created by @barsmutabor on GitHub (Nov 12, 2025). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3789 # Impacted versions * OS Type: Debian * OS Version: 12 * Database Type: MySQL * Modoboa: current * installer used: Yes * Webserver: Nginx Unable to delete the only filter, error: "Unable to delete the active filtering script".
kerem closed this issue 2026-02-27 11:19:50 +03:00
Author
Owner

@tonioo commented on GitHub (Nov 12, 2025):

@barsmutabor Are you trying to delete the entire filterset or just a filter?

<!-- gh-comment-id:3522419848 --> @tonioo commented on GitHub (Nov 12, 2025): @barsmutabor Are you trying to delete the entire filterset or just a filter?
Author
Owner

@barsmutabor commented on GitHub (Nov 13, 2025):

the only filter cannot be removed

<!-- gh-comment-id:3524907172 --> @barsmutabor commented on GitHub (Nov 13, 2025): the only filter cannot be removed
Author
Owner

@tonioo commented on GitHub (Nov 13, 2025):

@barsmutabor Can you provide a screenshot of your action?

<!-- gh-comment-id:3526130138 --> @tonioo commented on GitHub (Nov 13, 2025): @barsmutabor Can you provide a screenshot of your action?
Author
Owner

@barsmutabor commented on GitHub (Nov 13, 2025):

Image Image Image Image
<!-- gh-comment-id:3527033331 --> @barsmutabor commented on GitHub (Nov 13, 2025): <img width="1144" height="385" alt="Image" src="https://github.com/user-attachments/assets/3c5f7555-914f-41cb-a911-691329b167c6" /> <img width="1204" height="326" alt="Image" src="https://github.com/user-attachments/assets/fdd0448c-56d0-40bc-8114-82c22bff82c5" /> <img width="1146" height="380" alt="Image" src="https://github.com/user-attachments/assets/111c98e5-3434-4e7d-933f-9d1dd70d9aa5" /> <img width="1236" height="384" alt="Image" src="https://github.com/user-attachments/assets/f716be7a-4653-4f59-9ec5-15210065a70f" />
Author
Owner

@tonioo commented on GitHub (Nov 13, 2025):

Ok, then that the expected behaviour. You cannot remove the active filterset. Try to mark it as inactive first, or create a new active one and you'll be able to remove this one.

<!-- gh-comment-id:3527100857 --> @tonioo commented on GitHub (Nov 13, 2025): Ok, then that the expected behaviour. You cannot remove the active filterset. Try to mark it as inactive first, or create a new active one and you'll be able to remove this one.
Author
Owner

@barsmutabor commented on GitHub (Nov 13, 2025):

How to remove all filters
I showed the menu, but there is no deactivation option

<!-- gh-comment-id:3527578409 --> @barsmutabor commented on GitHub (Nov 13, 2025): How to remove all filters I showed the menu, but there is no deactivation option
Author
Owner

@tonioo commented on GitHub (Nov 13, 2025):

You can remove them one by one

<!-- gh-comment-id:3527584271 --> @tonioo commented on GitHub (Nov 13, 2025): You can remove them one by one
Author
Owner

@barsmutabor commented on GitHub (Nov 13, 2025):

No, try to delete it yourself.
There's always one left

Image

You can deactivate and delete any filters except the first one

<!-- gh-comment-id:3527590832 --> @barsmutabor commented on GitHub (Nov 13, 2025): No, try to delete it yourself. There's always one left <img width="1146" height="380" alt="Image" src="https://github.com/user-attachments/assets/6c0a85ab-7044-4b5d-b624-eb963da1b210" /> You can deactivate and delete any filters except the first one
Author
Owner

@tonioo commented on GitHub (Nov 13, 2025):

You're mixing "filter set" and filter. I told you that you can't remove the active filter set.
Try to add a Filter by clicking on the blue button and then you'll be able to delete it.

<!-- gh-comment-id:3527623086 --> @tonioo commented on GitHub (Nov 13, 2025): You're mixing "filter set" and filter. I told you that you can't remove the active filter set. Try to add a Filter by clicking on the blue button and then you'll be able to delete it.
Author
Owner

@barsmutabor commented on GitHub (Nov 13, 2025):

Image Image Image Image
<!-- gh-comment-id:3527638467 --> @barsmutabor commented on GitHub (Nov 13, 2025): <img width="859" height="383" alt="Image" src="https://github.com/user-attachments/assets/7abc23fa-89a2-4dcc-a4aa-594921fb0553" /> <img width="853" height="334" alt="Image" src="https://github.com/user-attachments/assets/a83c118b-6068-4bb3-9490-499bdd947bce" /> <img width="868" height="383" alt="Image" src="https://github.com/user-attachments/assets/38bb69ff-8bb1-4c15-9fd4-13cc4dad0222" /> <img width="981" height="363" alt="Image" src="https://github.com/user-attachments/assets/5b8671a6-2ed6-4c84-b2a6-10e4a2f15767" />
Author
Owner

@barsmutabor commented on GitHub (Nov 13, 2025):

The first one cannot be deactivated or deleted

<!-- gh-comment-id:3527644960 --> @barsmutabor commented on GitHub (Nov 13, 2025): The first one cannot be deactivated or deleted
Author
Owner

@tonioo commented on GitHub (Nov 13, 2025):

The action to delete a filter is on the right menu (the one you have for each filter)

<!-- gh-comment-id:3527921980 --> @tonioo commented on GitHub (Nov 13, 2025): The action to delete a filter is on the right menu (the one you have for each filter)
Author
Owner

@barsmutabor commented on GitHub (Nov 14, 2025):

Where?

Image
<!-- gh-comment-id:3530580253 --> @barsmutabor commented on GitHub (Nov 14, 2025): Where? <img width="853" height="334" alt="Image" src="https://github.com/user-attachments/assets/aa4f34ad-4ba5-4584-a22d-a960f682abfe" />
Author
Owner

@barsmutabor commented on GitHub (Nov 14, 2025):

I can give you access to the computer using ammyadmin. Look

<!-- gh-comment-id:3530583074 --> @barsmutabor commented on GitHub (Nov 14, 2025): I can give you access to the computer using ammyadmin. Look
Author
Owner

@tonioo commented on GitHub (Nov 14, 2025):

What is your screen resolution?

<!-- gh-comment-id:3531366008 --> @tonioo commented on GitHub (Nov 14, 2025): What is your screen resolution?
Author
Owner

@barsmutabor commented on GitHub (Nov 14, 2025):

1920*1080

<!-- gh-comment-id:3531805017 --> @barsmutabor commented on GitHub (Nov 14, 2025): 1920*1080
Author
Owner

@tonioo commented on GitHub (Nov 14, 2025):

You should see this:

Image
<!-- gh-comment-id:3531926061 --> @tonioo commented on GitHub (Nov 14, 2025): You should see this: <img width="1673" height="552" alt="Image" src="https://github.com/user-attachments/assets/92307a39-4382-4bea-9aa5-5cd68d49a2c7" />
Author
Owner

@tonioo commented on GitHub (Nov 14, 2025):

What browser to you use?

<!-- gh-comment-id:3531926757 --> @tonioo commented on GitHub (Nov 14, 2025): What browser to you use?
Author
Owner

@barsmutabor commented on GitHub (Nov 14, 2025):

Firefox
The filter set is not deleted, but the filter is deleted.

Image
<!-- gh-comment-id:3532014699 --> @barsmutabor commented on GitHub (Nov 14, 2025): Firefox The filter set is not deleted, but the filter is deleted. <img width="861" height="384" alt="Image" src="https://github.com/user-attachments/assets/dd42111d-6f84-4761-a864-6616c7310fc0" />
Author
Owner

@barsmutabor commented on GitHub (Nov 14, 2025):

Image Image Image Image
<!-- gh-comment-id:3532060815 --> @barsmutabor commented on GitHub (Nov 14, 2025): <img width="878" height="381" alt="Image" src="https://github.com/user-attachments/assets/54b799e5-a298-49c9-b830-d4e49f7e102a" /> <img width="979" height="198" alt="Image" src="https://github.com/user-attachments/assets/35204810-5fc3-4658-a207-2fdf42dd7c05" /> <img width="552" height="271" alt="Image" src="https://github.com/user-attachments/assets/7733cf05-588a-4e10-8610-97cdb5a7b9c1" /> <img width="1008" height="310" alt="Image" src="https://github.com/user-attachments/assets/e716e9e8-266f-4d9e-a31a-ab5d28d52f1b" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1907
No description provided.