I have migrated all domains I have on another server to a new one.
I was not aware that I had to do that using the backup/restore of DirectAdmin, now I have this problem with emails.
Whatever email I create or change the password, I am not able to read its contents using pop, imap, etc.
Comparing the passwd files on both the old and new servers I noticed this difference.
Suppose a passwd file on
for an email "[email protected]".
This is the contents of the /etc/virtual/mydomain.com/passwd file on the old file that is working perfectly
this is the contents of the same file on the new server, for the same user and password
There is this end ":501:12::/home/admin/imap/mydomain.com/bob:/bin/false" missing. Without this, I cannot read the email.
If I add this end manually on the passwd file on the new server, the email starts working but if I use DirectAdmin to change anything about this email (quota, password, etc), DirectAdmin removes that ending from the file and the email stops working.
How do I fix that?
I was not aware that I had to do that using the backup/restore of DirectAdmin, now I have this problem with emails.
Whatever email I create or change the password, I am not able to read its contents using pop, imap, etc.
Comparing the passwd files on both the old and new servers I noticed this difference.
Suppose a passwd file on
Code:
/etc/virtual/mydomain.com
for an email "[email protected]".
This is the contents of the /etc/virtual/mydomain.com/passwd file on the old file that is working perfectly
Code:
bob:$1$fNjnhklH$7ci4343pLMjBPVCXGQhjp0:501:12::/home/admin/imap/mydomain.com/bob:/bin/false
this is the contents of the same file on the new server, for the same user and password
Code:
bob:$1$fNjnhklH$7ci4343pLMjBPVCXGQhjp0
There is this end ":501:12::/home/admin/imap/mydomain.com/bob:/bin/false" missing. Without this, I cannot read the email.
If I add this end manually on the passwd file on the new server, the email starts working but if I use DirectAdmin to change anything about this email (quota, password, etc), DirectAdmin removes that ending from the file and the email stops working.
How do I fix that?