mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.94k stars 1.17k forks source link

Setting "Allow to send as" doesn't get rid of deleted mailboxes #5055

Closed Stefomat closed 1 year ago

Stefomat commented 1 year ago

Contribution guidelines

I've found a bug and checked that ...

Description

I create two mailboxes in one domain, e.g. Bob and Alice. Now I give Alice the additional permission to send as Bob via the setting "Allow to send as". If Bob's mailbox is now deleted, the entry in Alice's settings remains and cannot be deleted.

Logs:

There seem to be no relevant logs for this.

Feb  8 10:24:31 dockerapi-mailcow[1150]: INFO:     2023-02-08 10:24:31 api call: container_post__exec__maildir__cleanup, container_id: 70c71b614c395539cf31a300144fc46d768dc63d38b82cce4deb40ad3a4a86aa
["mailbox","delete","mailbox",{"username":["bob@domain.de"]},null]

Steps to reproduce:

1. Create Mailbox Bob
2. Create Mailbox Alice
3. Change settings of Alice and add Bob in "Allow to send as"
4. Delete Mailbox Bob
5. Try to remove now deleted Mailbox Bob from Alice's "Allow to send as" list

Which branch are you using?

master

Operating System:

Debian GNU/Linux 11 (bullseye)

Server/VM specifications:

8 Core Xeon CPU, 32 GB RAM

Is Apparmor, SELinux or similar active?

yes

Virtualization technology:

none

Docker version:

23.0.0

docker-compose version or docker compose version:

v2.15.1

mailcow version:

2023-02

Reverse proxy:

Apache2

Logs of git diff:

Disabled IPv6 according to the documentation

Logs of iptables -L -vn:

Not relevant

Logs of ip6tables -L -vn:

Not relevant

Logs of iptables -L -vn -t nat:

Not relevant

Logs of ip6tables -L -vn -t nat:

Not relevant

DNS check:

151.101.129.69
151.101.1.69
151.101.193.69
151.101.65.69
milkmaker commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Stefomat commented 1 year ago

Gentle ping. :)