After I set up the system, there was only one. Now:
[root@Nethserver ~]# ls -l /var/lib/nethserver/vmail/
total 0
drwx------ 3 vmail vmail 21 Mar 7 16:49 admin
drwx------ 3 vmail vmail 21 Mar 13 03:27 admin@bogolinux.net
drwx------ 3 vmail vmail 21 Mar 12 12:45 admin@BogoLinux.net
drwx------ 3 vmail vmail 21 Mar 7 16:49 eddie
drwx------ 3 vmail vmail 21 Mar 7 16:49 plex
drwx------ 3 vmail vmail 21 Mar 2 18:31 root
-rw------- 1 vmail vmail 0 Mar 14 03:41 shared-mailboxes.db
drwx------ 3 vmail vmail 21 Mar 2 18:31 vmail
[root@Nethserver ~]#
I’d already picked up on that where NS6 sent all the administrivia e-mails to admin, NS7 now sends them to root instead. So how many of there do I really need to monitor for messages.
The only possible thing I can see in the logs for the admin@BogoLinux.net entry might have been an attempt to read e-mail on NS for user admin via the POP3 Proxy:
The admin (no domain) box was the one created at NS install.
Here’s what NS thinks exist:
On a slightly related note. Is there any way to set up a shared e-mail box so that a single remote client can download both root’s and admin’s mails. As noted, NS6 sent everything to admin. NS7 appears to send (most) to root.
Access the Server Manager, go to the user@domain.com label on the upper right corner of the screen and click on Profile. There you can set an email address where any message is forwarded.
We must document this procedure in the admin manual! /cc @docs_team
I think my supplemental question is pushing this off-topic.
The original issue is that the system creates a single mailbox for “admin”. Then other processes, one known (ddclient) and another unknown forced NS to create 2 more mailboxes where (to my mind) those processes should have been using the already created mailbox.
After a little more time, I think I see the pattern in which of root’s mails are copied (not moved. Although I now know how to fix that part. ) to the specified, “alternate” address.
This is the expected behavior. If you want root@bogolinux.net you must define an alias for it, because root is not an account of @bogolinux.net domain.
Root comes from the Unix /etc/passwd database, as such it’s mail address is (the traditional) root@$(hostname).
Accounts in your accounts provider DB have as default mail address user@$(hostname -d).