Migrated files directly, not using directAdmin, now I have a problem

Mike Lima

Verified User
Joined
May 6, 2015
Messages
13
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

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?
 
You have no access to the old server anymore?

How many email accounts are we talking about? Cause it may be easier to manually recreate them and copy just the data folder

Regards
 
You should patch your exim.conf to support dovecot.

http://help.directadmin.com/item.php?id=143

you say exim.conf but the url you posted talks about options.conf.

Anyway, I have simply built davecot again, as the last line on that page says and now it is working perfectly!!!!

T H A N K S ! ! ! !

PS: I would like to suggest to the admins of this forum to remove this random question annoying thing. Some of the questions there just an american can answer and foreigners like me have don't have a clue and have to reload the page several times to see something that can be answered. Your server suffer with a lot of reloads of everyone that is not able to solve the puzzles.
 
He sayd about exim.conf and posted the link cause the problem is related to exim.conf patch, and the patch is actually done building dovecot using custombuild that apply related exim.conf patch ;)

Regarding the question, i know those are annoying, but they prevent a lot of spam, i've not the "power" to manual verify you, but maybe someone that have (i'm linking this thread to him) will.

Regards
 
Back
Top