LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2003, 07:01 AM   #1
jeffvd
LQ Newbie
 
Registered: Sep 2003
Location: belgium
Posts: 6

Rep: Reputation: 0
how to backup a Sendmail Mailserver


I'v recently installed a Sendmail Mailserver on Redhat 8.0 . I would like to know how & what I need to backup (which folders, accounts, mails...) so I can restore everything in case the mailserver crashes.
 
Old 09-26-2003, 01:06 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Usually the mail will be delivered to a folder in your users home directory. Other than that you may want to backup your sendmail config files and the user files:
/etc/shadow
/etc/passwd
/etc/group
 
Old 10-10-2003, 07:37 AM   #3
jeffvd
LQ Newbie
 
Registered: Sep 2003
Location: belgium
Posts: 6

Original Poster
Rep: Reputation: 0
ok thanx

but don't I have to backup some stuff in the /var - directory ?
 
Old 10-10-2003, 12:36 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can back up whatever you want. You may want to backup:
/var/spool/mail
 
Old 12-17-2010, 10:00 PM   #5
musa1627
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Smile Musa1627

If you want to backup only the mails in sendmail you can backup /var/spool/mail folder.

If you want to backup complete Mail Server so that it can help you in case the server crashes:

Back up all the sendmail configuration files from /etc and /var/named/chroot Directory

Eg: /etc/mail/sendmail.mc, /etc/mail/sendmail.cf

To backup sendmail users and password files backup /etc/passwd, /etc/shadow

If you want users go get send items and drafts then copy /home also.

To backup also the sendmail emails inbox backup /var/spool/mail.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backup mailserver zamri Linux - Networking 2 09-27-2005 07:10 AM
anybody knows which is better mailserver ? Sendmail OR Postfix ? gajaykrishnan Programming 1 08-03-2005 03:38 AM
Sendmail just to send through another mailserver chrisfirestar Linux - Software 2 05-07-2004 05:35 AM
sendmail and backup mail server gsimpson Linux - Software 6 07-11-2003 09:11 PM
mailserver sendmail ssrikant Linux - Networking 3 05-05-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration