It works! Grazie Stephane!!
Is it something that actually should happen when the round cube get installed and the configuration happens?
It works! Grazie Stephane!!
Is it something that actually should happen when the round cube get installed and the configuration happens?
I submitted a PR to correct this bug, it should come for everybody ASAP
I confirm. The managesieve server use the short format and creates the wrong maildir where to store sieve filter.
Both mail-server and roundcube packages needs a fix
Roundcube duplicate accounts with short legacy format · Issue #5151 · NethServer/dev · GitHub
Sieve filters duplicate user maildirs with legacy short format · Issue #5150 · NethServer/dev · GitHub
The packages are ready for testing! /cc @quality_team @vedragan @stephdl @areguera @stef @transocean
To install them
yum --enablerepo=nethserver-testing update nethserver-roundcubemail nethserver-mail-server
Thank you Davide! I reverted the earlier work-arround and installed the packages. I can login correctly with or without domain. In the /var/lib/nethserver/vmail only directories with user@domain are created. The only small aspect that I’ve noticed is that now is not possible to login as root anymore (earlier it was). I don’t know if it really smart to do this at all In order to not have possible emails addressed to root lost, it is enough to create an email alias “root” to the preferred user…
I can login as “root” (no @domain suffix) with IMAP, but not from Roundcube:
Nov 16 09:55:20 vm7 dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2949, secured, session= Nov 16 09:55:36 vm7 dovecot: imap(root): Connection closed in=0 out=381 Nov 16 09:59:46 vm7 dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=
The new Roundcube configuration actually breaks the root login which is available only without @domain suffix.
@stephdl, @giacomo: do you think we can configure Roundcube to make an exception for root? Otherwise I could try to adjust the login name in the dovecot postlogin script…
I think it’s not possible.
Since the bug on sieve is resolved, I’d remove the username_domain
option. Let’s give to the user the freedom to choose the preferred login.
New package in testing that allows root login /cc @vedragan
yum --enablerepo=nethserver-testing update nethserver-roundcubemail nethserver-mail-server
Now the user must choose the preferred login …from a dropdown menu, with a safe default
[root@NS7DEV3 ~]# rpm -qa nethserver-roundcubemail
nethserver-roundcubemail-1.2.4-1.3.g83cf3f6.ns7.noarch
[root@NS7DEV3 ~]# rpm -qa nethserver-mail-server
nethserver-mail-server-1.10.4-1.2.g5bff66e.ns7.noarch
the root user can login when you set the ‘local’ by the dropdown menu
the root@mydomain.com cannot login, but its is normal
I found two root folders after that
[root@NS7DEV3 ~]# ll /var/lib/nethserver/vmail/
total 4
drwx------ 3 vmail vmail 20 Nov 17 21:32 root
drwx------ 3 vmail vmail 20 Nov 17 21:30 root@stephdl.dyndns.org
-rw------- 1 vmail vmail 35 Nov 17 21:33 shared-mailboxes.db
drwx------ 4 vmail vmail 53 Nov 17 21:34 toto@stephdl.dyndns.org
drwx------ 3 vmail vmail 20 Nov 17 21:26 vmail
I don’t know if it is a side effect (we found also two root users in the mysql database of roundcubemail)
My concern is that it is not easy to know that you must choose ‘local’ to login with the root user. At least some doc should be done in the Admin manual.
When you use a user with the dropdown menu of your domain, whatever user@domain or user, are workable, only one user is created at
[root@NS7DEV3 ~]# ll /var/lib/nethserver/vmail/
total 4
drwx------ 3 vmail vmail 20 Nov 17 21:32 root
drwx------ 3 vmail vmail 20 Nov 17 21:30 root@stephdl.dyndns.org
-rw------- 1 vmail vmail 35 Nov 17 21:33 shared-mailboxes.db
drwx------ 4 vmail vmail 53 Nov 17 21:34 toto@stephdl.dyndns.org
drwx------ 3 vmail vmail 20 Nov 17 21:26 vmail
we can see that in mysql
MariaDB [roundcubemail]> SELECT * FROM users
-> ;
+---------+-------------------------+-----------+---------------------+---------------------+----------+-------------------------------------------------------------------+
| user_id | username | mail_host | created | last_login | language | preferences |
+---------+-------------------------+-----------+---------------------+---------------------+----------+-------------------------------------------------------------------+
| 1 | root | localhost | 2016-11-17 21:30:08 | 2016-11-17 21:30:08 | fr_FR | a:1:{s:11:"client_hash";s:32:"c3a2e50f09a41581d9db4ada516a09c6";} |
| 2 | root | 127.0.0.1 | 2016-11-17 21:32:28 | 2016-11-17 21:32:28 | fr_FR | a:1:{s:11:"client_hash";s:32:"dff655bc1073ab1d5ae392c238fcd307";} |
| 3 | toto@stephdl.dyndns.org | localhost | 2016-11-17 21:33:36 | 2016-11-17 21:39:07 | fr_FR | a:1:{s:11:"client_hash";s:32:"c9f1cf9fba3ddf72be7368177390a3f1";} |
+---------+-------------------------+-----------+---------------------+---------------------+----------+-------------------------------------------------------------------+
3 rows in set (0.00 sec)
I created a sieve rule to drop to the junk folder all email with a specific object, it is workable whater the user or user@domain form of login
4 /var/lib/nethserver/vmail/toto@stephdl.dyndns.org/Maildir/.Junk/cur/1479415098.M906084P16357.NS7DEV3.stephdl.dyndns.org,S=939,W=959:2,
4 /var/lib/nethserver/vmail/toto@stephdl.dyndns.org/Maildir/.Junk/cur/1479415174.M914169P16438.NS7DEV3.stephdl.dyndns.org,S=1000,W=1024:2,
Here the sieve script used
[root@NS7DEV3 ~]# cat /var/lib/nethserver/vmail/toto@stephdl.dyndns.org/.dovecot.sieve
require ["fileinto"];
# rule:[plop]
if header :contains "subject" "plop"
{
fileinto "Junk";
}
Yes, confirmed. My suggestion/idea would be to:
I don’t know if (1) it is a good idea and also (2) how difficult is to implement. Feature freeze must be considered as well…
Me too! I could explain it, at least I can try…
Dovecot has multiple password DBs configured. One of them trims the user name domain suffix. And matches, if user is either root or root@domain.
Perhaps we can fix this.
IIRC this is already possible from the Profile page in server manager. The reason to have a root IMAP access is people do not set the forward address.
root comes from /etc/passwd database and always exists; for this reason it has a special treatment in our configuration. I agree it should be displayed anyway…
Look at the upper-right corner:
In /etc/aliases
:
[root@vm4 ~]# tail -3 /etc/aliases # Person who should get root's mail #root: marc root: davide@example.com, roo
I tried again to reproduce this effect, without achieving it! On a development VM (don’t run on a production system):
# rm -_rf /var/lib/nethserver/vmail/*
# echo _'delete from users' | mysql roundcubemail
(safety check: remove the underscores)
Then
Only /var/lib/nethserver/vmail/root was created.
Could the other directory be created by an older package?
I will do again all steps this night, no problem davidep
In order to reproduce install nethserver-roundcubemail
yum install nethserver-roundcubemail
then login with the root user, you can find
[root@NS7DEV4 ~]# ll /var/lib/nethserver/vmail/
total 4
drwx------ 3 vmail vmail 20 Oct 6 19:35 root@stephdl.dyndns.org
-rw------- 1 vmail vmail 35 Oct 6 19:35 shared-mailboxes.db
drwx------ 3 vmail vmail 20 Oct 6 19:30 vmail
then update
yum --enablerepo=nethserver-testing update nethserver-roundcubemail nethserver-mail-server
after the installation or if you logout and login again with the root user you find
[root@NS7DEV4 ~]# ll /var/lib/nethserver/vmail/
total 4
drwx------ 3 vmail vmail 20 Oct 6 19:36 root
drwx------ 3 vmail vmail 20 Oct 6 19:35 root@stephdl.dyndns.org
-rw------- 1 vmail vmail 35 Oct 6 19:36 shared-mailboxes.db
drwx------ 3 vmail vmail 20 Oct 6 19:30 vmail
I reproduced it many times, this is the content of /var/lib/nethserver/vmail/
/var/lib/nethserver/vmail/:
total 4
drwx------ 5 vmail vmail 85 Oct 6 19:36 .
drwxr-xr-x. 8 root root 95 Oct 6 19:28 ..
drwx------ 3 vmail vmail 20 Oct 6 19:36 root
drwx------ 3 vmail vmail 20 Oct 6 19:35 root@stephdl.dyndns.org
-rw------- 1 vmail vmail 35 Oct 6 19:36 shared-mailboxes.db
drwx------ 3 vmail vmail 20 Oct 6 19:30 vmail
/var/lib/nethserver/vmail/root:
total 4
drwx------ 3 vmail vmail 20 Oct 6 19:36 .
drwx------ 5 vmail vmail 85 Oct 6 19:36 ..
drwx------ 9 vmail vmail 4096 Oct 6 19:37 Maildir
/var/lib/nethserver/vmail/root/Maildir:
total 24
drwx------ 9 vmail vmail 4096 Oct 6 19:37 .
drwx------ 3 vmail vmail 20 Oct 6 19:36 ..
drwx------ 2 vmail vmail 6 Oct 6 19:36 cur
-rw------- 1 vmail vmail 0 Oct 6 19:36 dovecot-acl-list
-rw------- 1 vmail vmail 272 Oct 6 19:37 dovecot.index.log
-rw------- 1 vmail vmail 96 Oct 6 19:37 dovecot.mailbox.log
-rw------- 1 vmail vmail 51 Oct 6 19:37 dovecot-uidlist
-rw------- 1 vmail vmail 8 Oct 6 19:37 dovecot-uidvalidity
-r--r--r-- 1 vmail vmail 0 Oct 6 19:36 dovecot-uidvalidity.57f68bbe
drwx------ 5 vmail vmail 102 Oct 6 19:37 .Drafts
drwx------ 5 vmail vmail 102 Oct 6 19:37 .Junk
-rw------- 1 vmail vmail 0 Oct 6 19:36 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:36 new
drwx------ 5 vmail vmail 102 Oct 6 19:37 .Sent
-rw------- 1 vmail vmail 23 Oct 6 19:37 subscriptions
drwx------ 2 vmail vmail 6 Oct 6 19:36 tmp
drwx------ 5 vmail vmail 102 Oct 6 19:37 .Trash
/var/lib/nethserver/vmail/root/Maildir/cur:
total 4
drwx------ 2 vmail vmail 6 Oct 6 19:36 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Drafts:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:37 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
drwx------ 2 vmail vmail 6 Oct 6 19:37 cur
-rw------- 1 vmail vmail 168 Oct 6 19:37 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:37 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:37 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:37 new
drwx------ 2 vmail vmail 6 Oct 6 19:37 tmp
/var/lib/nethserver/vmail/root/Maildir/.Drafts/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Drafts/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Drafts/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Junk:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:37 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
drwx------ 2 vmail vmail 6 Oct 6 19:37 cur
-rw------- 1 vmail vmail 168 Oct 6 19:37 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:37 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:37 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:37 new
drwx------ 2 vmail vmail 6 Oct 6 19:37 tmp
/var/lib/nethserver/vmail/root/Maildir/.Junk/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Junk/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Junk/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/new:
total 4
drwx------ 2 vmail vmail 6 Oct 6 19:36 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Sent:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:37 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
drwx------ 2 vmail vmail 6 Oct 6 19:37 cur
-rw------- 1 vmail vmail 168 Oct 6 19:37 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:37 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:37 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:37 new
drwx------ 2 vmail vmail 6 Oct 6 19:37 tmp
/var/lib/nethserver/vmail/root/Maildir/.Sent/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Sent/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Sent/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/tmp:
total 4
drwx------ 2 vmail vmail 6 Oct 6 19:36 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Trash:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:37 .
drwx------ 9 vmail vmail 4096 Oct 6 19:37 ..
drwx------ 2 vmail vmail 6 Oct 6 19:37 cur
-rw------- 1 vmail vmail 168 Oct 6 19:37 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:37 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:37 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:37 new
drwx------ 2 vmail vmail 6 Oct 6 19:37 tmp
/var/lib/nethserver/vmail/root/Maildir/.Trash/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Trash/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root/Maildir/.Trash/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:37 .
drwx------ 5 vmail vmail 102 Oct 6 19:37 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org:
total 4
drwx------ 3 vmail vmail 20 Oct 6 19:35 .
drwx------ 5 vmail vmail 85 Oct 6 19:36 ..
drwx------ 9 vmail vmail 4096 Oct 6 19:35 Maildir
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir:
total 24
drwx------ 9 vmail vmail 4096 Oct 6 19:35 .
drwx------ 3 vmail vmail 20 Oct 6 19:35 ..
drwx------ 2 vmail vmail 6 Oct 6 19:35 cur
-rw------- 1 vmail vmail 0 Oct 6 19:35 dovecot-acl-list
-rw------- 1 vmail vmail 168 Oct 6 19:35 dovecot.index.log
-rw------- 1 vmail vmail 96 Oct 6 19:35 dovecot.mailbox.log
-rw------- 1 vmail vmail 51 Oct 6 19:35 dovecot-uidlist
-rw------- 1 vmail vmail 8 Oct 6 19:35 dovecot-uidvalidity
-r--r--r-- 1 vmail vmail 0 Oct 6 19:35 dovecot-uidvalidity.57f68b7d
drwx------ 5 vmail vmail 102 Oct 6 19:35 .Drafts
drwx------ 5 vmail vmail 102 Oct 6 19:35 .Junk
-rw------- 1 vmail vmail 0 Oct 6 19:35 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:35 new
drwx------ 5 vmail vmail 102 Oct 6 19:35 .Sent
-rw------- 1 vmail vmail 23 Oct 6 19:35 subscriptions
drwx------ 2 vmail vmail 6 Oct 6 19:35 tmp
drwx------ 5 vmail vmail 102 Oct 6 19:35 .Trash
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/cur:
total 4
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Drafts:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
drwx------ 2 vmail vmail 6 Oct 6 19:35 cur
-rw------- 1 vmail vmail 168 Oct 6 19:35 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:35 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:35 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:35 new
drwx------ 2 vmail vmail 6 Oct 6 19:35 tmp
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Drafts/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Drafts/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Drafts/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Junk:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
drwx------ 2 vmail vmail 6 Oct 6 19:35 cur
-rw------- 1 vmail vmail 168 Oct 6 19:35 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:35 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:35 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:35 new
drwx------ 2 vmail vmail 6 Oct 6 19:35 tmp
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Junk/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Junk/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Junk/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/new:
total 4
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Sent:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
drwx------ 2 vmail vmail 6 Oct 6 19:35 cur
-rw------- 1 vmail vmail 168 Oct 6 19:35 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:35 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:35 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:35 new
drwx------ 2 vmail vmail 6 Oct 6 19:35 tmp
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Sent/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Sent/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Sent/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/tmp:
total 4
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Trash:
total 12
drwx------ 5 vmail vmail 102 Oct 6 19:35 .
drwx------ 9 vmail vmail 4096 Oct 6 19:35 ..
drwx------ 2 vmail vmail 6 Oct 6 19:35 cur
-rw------- 1 vmail vmail 168 Oct 6 19:35 dovecot.index.log
-rw------- 1 vmail vmail 51 Oct 6 19:35 dovecot-uidlist
-rw------- 1 vmail vmail 0 Oct 6 19:35 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:35 new
drwx------ 2 vmail vmail 6 Oct 6 19:35 tmp
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Trash/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Trash/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/root@stephdl.dyndns.org/Maildir/.Trash/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:35 .
drwx------ 5 vmail vmail 102 Oct 6 19:35 ..
/var/lib/nethserver/vmail/vmail:
total 0
drwx------ 3 vmail vmail 20 Oct 6 19:30 .
drwx------ 5 vmail vmail 85 Oct 6 19:36 ..
drwx------ 5 vmail vmail 121 Oct 6 19:30 Maildir
/var/lib/nethserver/vmail/vmail/Maildir:
total 12
drwx------ 5 vmail vmail 121 Oct 6 19:30 .
drwx------ 3 vmail vmail 20 Oct 6 19:30 ..
drwx------ 2 vmail vmail 6 Oct 6 19:30 cur
-rw------- 1 vmail vmail 16 Oct 6 19:30 dovecot-acl
-rw------- 1 vmail vmail 17 Oct 6 19:30 dovecot-acl-list
-rw------- 1 vmail vmail 104 Oct 6 19:30 dovecot.index.log
-rw------- 1 vmail vmail 0 Oct 6 19:30 maildirfolder
drwx------ 2 vmail vmail 6 Oct 6 19:30 new
drwx------ 2 vmail vmail 6 Oct 6 19:30 tmp
/var/lib/nethserver/vmail/vmail/Maildir/cur:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:30 .
drwx------ 5 vmail vmail 121 Oct 6 19:30 ..
/var/lib/nethserver/vmail/vmail/Maildir/new:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:30 .
drwx------ 5 vmail vmail 121 Oct 6 19:30 ..
/var/lib/nethserver/vmail/vmail/Maildir/tmp:
total 0
drwx------ 2 vmail vmail 6 Oct 6 19:30 .
drwx------ 5 vmail vmail 121 Oct 6 19:30 ..
Now it’s clear, we must choose one of
Thank you @stephdl!
You are welcome, I come back to fight with samba
The root@domain/
form was introduced by the last mail-server package:
nethserver-mail-server-1.10.4-1.ns7.noarch
The testing package reverts to the original root/
maildir. @stephdl, I wouldn’t fix the regression, just issue this command if you want to merge root@domain/
contents into root/
(disclaimer: never tested, remove the n
flag):
cd /var/lib/nethserver/vmail/
rsync -avn root@neth.eu/ root/