Submitted by jonkristian on Fri, 11/27/2009 - 09:58
I created a site and added a mailing list to it. When removing the site, i found leftovers from the mailing list entries inside /etc/aliases , I found this out because when i re-created the site once more, it would not allow me to add an e-mail alias with the same name as the mailing list i had once created, and thought i had deleted.
Is it safe to remove these entries from /etc/aliases? and could there be other places which might contain left overs from that mailing list? I wan't to keep the system as clean as possible.
Status:
Active
Comments
Submitted by jonkristian on Fri, 11/27/2009 - 10:04 Comment #1
So I re-created the mailing list, which surprisingly enough worked, and after deleting the mailing list directly, i don't have issues with any left overs, i think...
Submitted by JamieCameron on Fri, 11/27/2009 - 14:28 Comment #2
Yes, you can safely delete these.
Are you finding that if you create a domain with mailing lists and then delete that domain, there are leftover entries in /etc/aliases ?
Submitted by jonkristian on Sat, 11/28/2009 - 06:25 Comment #3
Yes, that is correct. I haven't reproduced this though, because the server i am working on is now in production.
Submitted by JamieCameron on Sat, 11/28/2009 - 23:15 Comment #4
If you can, you might want to try doing this with a test domain .. if the problem happens, it will occur even for a domain that isn't really registered, like example.com.
Submitted by jonkristian on Wed, 12/09/2009 - 16:28 Comment #5
Yes I can reproduce, and it also has leftovers in /var/lib/mailman/*
Submitted by JamieCameron on Wed, 12/09/2009 - 23:13 Comment #6
That's odd .. when I create a test domain, add a mailing list to it, then delete it, the list aliases and entry from /var/lib/mailman are correctly removed.
Was this mailing list added using the Virtualmin UI, at Services -> Mailing Lists ?
Submitted by jonkristian on Sat, 12/12/2009 - 16:00 Comment #7
I am sorry for not being specific enough about this, because this was not a top-level site, it was a subserver, and i didn't remove the subserver directly, i removed the parent... Again, really sorry, I should've included that important fact.
Submitted by JamieCameron on Sat, 12/12/2009 - 19:57 Comment #8
I just tested this too, and the list was properly deleted, even from the sub-server.
Is this repeatable if you create a test domain and sub-domain, add a mailing list to the sub-domain, then delete them both?
If so, could you attach the output from the deletion screen to this bug report.