Finding email conf file emergency...

TommyM

New member
Joined
Apr 2, 2009
Messages
2
Hi All,

We've got a freeBSD server that is point blank refusing to run directadmin.

We've spent a long while trying to get it running and have now decided to give up, kill the server and move on..

We had a bunch of client's email running on the server and *really* need to get new accounts set up on another mail server asap as they are currently without mail and on the verge of stampeding. :eek:

We've got access to the box via VNC, but no directadmin interface; What I need to know is where would we find the conf file that contains a list email addresses and email passwords for the users under each domain?

Really hoping someone can help...
 

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
All you are looking for is in /etc/virtual. With a couple of modifications to /etc/exim.conf (for example to avoid /etc/exim.pl, don't know about the rest) you should be able to make Exim work the same way anywhere.
If you already have a (different) running system, you will have to import all the data in it. Unless it's a DA server, there is little chance that the data is directly compatible.
 

TommyM

New member
Joined
Apr 2, 2009
Messages
2
Excellent, thanks... We're actually just going to manually make new accounts on a different server, so just need those names and pws.

We're in /etc/virtual/username and see a file called passwd which contain the passwords, but they are hashed... any idea where/how we could to see them unhashed?

So close, and yet....

t
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
Dude if you are a server administrator you should know you cannot unhash passwords. *Sigh*
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
Actually, scsi, if the passwords were set up by the users, you probably can; using a good password cracking tool :D.

And depending on whether or not the server you're moving to uses the same algorithm, you may be able to just paste the hash in to the proper file on the new server; we've done that successfully many times.

Jeff
 
Top