Help with password file for email

vincenzobar

Verified User
Joined
Aug 15, 2004
Messages
89
I just did a migration and everything is working but email.

it says it cannot read password file. i cannot create email or see old.

I cannot find this file.

Anyone know where it is. this is my last step after one of the most painfull experiences of my life!!! CentOS migrations SUCK


HELLLLPPPPP

sorry for the dual post but i am in dire need... been down for 48 hours! clients are pissed
 
This probably has nothing to do with CentOS or whatever.

Maybe it would be helpfull to explain how you did the migration ? Used user backups ? To restore the accounts through the panel ?

If so you can run into some problems restoring the users mail in /var/spool and /etc/virtual.

This has something to with the lock files in /etc/virtual.

If you didn't use the user backup (or reseller backups) to restore, explain what you did and how you've restored the mail etc ?

A little more explanation could help others track down your problem
 
copied files that looked simular and pasted info from files like passwd, and Httpd that where different. I took content and added instead of replacing. Other directories like users aka Home was just copy pasted and mail directiries. names server was maticulously peiced back together and worked. Spacific files were migrated for admin in DA and stuff.

It took forever and many many tries by me and staff at hivelocity. but everything works except email.

So your saying i should to a user restor from the backup from Direct admin. and not manually?!!!!
 
error in back up

Unable to read /etc/virtual/underwaterdesign.com/passwd Can't get a lock on /etc/virtual/underwaterdesign.com/passwd


Unable to read /etc/virtual/underwaterdesign.com/passwd Can't get a lock on /etc/virtual/underwaterdesign.com/passwd

Unable to write alias file /etc/virtual/underwaterdesign.com/aliases

Unable to read /etc/virtual/underwaterdesign.com/passwd Can't get a lock on /etc/virtual/underwaterdesign.com/passwd

Unable to write alias file /etc/virtual/underwaterdesign.com/aliases
Unable to write /etc/virtual/underwaterdesign.com/autoresponder.conf Can't get a lock on /etc/virtual/underwaterdesign.com/autoresponder.conf
Unable to get Lock on file

WTF!!!!!!!!!!!!!
 
well i peiced back together the /etc/spool/virtual directory being sure not to overwrite my server.blah.com folders and i got mail access now!!!


Only thing is. Were is all the old mail??????????
 
dammit. thats where i am at and most are empty.

which sux because one of my accounts had 16 pages of emails on it at 50 per page that i needed! and that file is empty now.

woulod they just go empty like that?
 
SMTP Error: Recipient not accepted. Verify your relay rules

what does this mean?

anyone!!!
 
vincenzobar said:
dammit. thats where i am at and most are empty.

which sux because one of my accounts had 16 pages of emails on it at 50 per page that i needed! and that file is empty now.

woulod they just go empty like that?

Probably retrieved by your client. Normaly there's no way exim would clear the files. Try restoring them again an overwriting the current ones for that user.

Your relay problem could be fixed by checking the relay rules in your /etc/exim.conf don't know wich ones it whas. And check that all files in the /etc/virtual/ are correctly setup with the domain, so they aren't rejected.
 
Nope, it was all in another file

var/spool/mail
var/mail
var/spool/virtual

i can't remember where exactly but it wasn't in spool/mail i think virtual actually contains them all. i did a "du *" and in virtual is where they were all more than 0-16kb.

Thanks though!

Servers back up and to let everyone know..

THERE IS NO EASY WAY TO DO A MIGRATION FROM redhat 9 to Cent OS
 
I've migrated a couple of servers from RH9/FC1 and 2 and all with no problems to CentOS. Just some things I had to syncronize after restoring.

It isn't easy no, but if you know how the system works (as an admin should know). There shouldn't be a lot of downtime. My migration took place in 1 hour. (downtime) and 55 minutes with syncronization of one big account.

Doing research before migration and setting everything up correctly is of the essence.
 
vincenzobar said:
THERE IS NO EASY WAY TO DO A MIGRATION FROM redhat 9 to Cent OS
It may very well be true that you can't easily do a migration from RH9 to CentOS, but we've successfully used Sysbk to move from a RH9 system to a WBEL system (WBEL is functionally the same as CentOS; the two are interchangeable as they are both equivalent to RHEL).

We did it for a client. We copied all his domains from his server (running RHL9) to a sysbk backup, being very careful to back up everything we needed. We then had the server completely erased and restored as a WBEL server.

Then we restored (manually) from the sysbk backup.

Jeff
 
Back
Top