Sendmail

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
I just installed Redhat 7.2 on a new machine. I want to move all the Sendmail configuration and user information over from an old machine. Is there an easy way to do this? Couldn't I just copy some directory(s) over?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Just figure out which files sendmail needs and move those over. That should be about all you will need to do.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If RedHat is anything like Debian everything you need should be in /etc/sendmail/

The only config file sendmail itself reads is sendmai.cf (and any files it referances like relay-domains, etc), the rest are m4 macro scripts to make configuring sendmail easier.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
yeah ok thanks. I'm asking if anyone know WHAT files Sendmail uses. Thanks.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Ok, so all I need to copy is the sendmail.cf file, right? I don't need to copy the whole etc/sendmail directory do I? Now, this should take care of the sendmail configuration, but then what do I need to get all the users copied over to the new machine? Copy the entire /usr/ directory? Or is there more to it, or less to it?

Someone let me know if I'm way in left field on this.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
/usr has nothing to do with the user accounts on the system, they are kept in /etc/passwd and /etc/shadow
 

Hector13

Golden Member
Apr 4, 2000
1,694
0
0


<< /usr has nothing to do with the user accounts on the system, they are kept in /etc/passwd and /etc/shadow >>



By "user information" do you mean just the logins/passwords/groups and such (which is what Nothinman suggestion will do) or user home directories too (which are obviously in the /home directory)?
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Well, I'll also need to grab any emails that have not been retrieved from the server yet, also. All this server is used for is transfering emails, so there won't be any other user files to copy.

Also, some address get forwarded to yahoo and hotmail, I would like to also get any files that would have that information.