Mailman module list creation don't checking that new list name is using as mailbox name

If I have a mailing list named, and try to create a same name mailbox, Virtualmin said: "Failed to save mailbox : A mailbox or mail alias with the same name and domain already exists". It's OK.

But a problem occurs in the reverse situation:

1. I have a mailbox named, in /etc/postfix/virtual have this alias

2. Now I create a mailing list named info in the same domain. No error o warning message is showed, the list info is created. And the prior alias is deleted.


/etc/aliases: "|/usr/lib/mailman/mail/mailman post info" "|/usr/lib/mailman/mail/mailman admin info" "|/usr/lib/mailman/mail/mailman bounces info" "|/usr/lib/mailman/mail/mailman confirm info" "|/usr/lib/mailman/mail/mailman join info" "|/usr/lib/mailman/mail/mailman leave info" "|/usr/lib/mailman/mail/mailman owner info" "|/usr/lib/mailman/mail/mailman request info" "|/usr/lib/mailman/mail/mailman subscribe info" "|/usr/lib/mailman/mail/mailman unsubscribe info"

3. OK, I see the mistake (mailbox and mailing list with same name!), and delete de mailing list for solve it. But the deletion process delete all aliases in virtual and aliases, and the original virtual alias for the mailbox ( not has been recreated, therefore I have a user info in "Mail and FTP Users" that can not receive messages.

4. I edit the user info and I see: "Primary email address enabled? No".
I change it to "Yes" and the virtual alias is recreated correctly and the mailbox back to work properly.

My enviroment:
Debian 4.0 i386
webmin-virtualmin-mailman 5.2
mailman 2.1.9-7
webmin-virtual-server 3.64-2
webmin-virtual-server-theme 6.5-2


Closed (fixed)