Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor network networking outlook problem processor recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
need to restore users mail boxes with sendmail

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
View Poll Results: what is the best and most popular MTA mailk server for linux system today?
sendmail 0 0%
qmail 0 0%
postfix 1 100.00%
exim 0 0%
Voters: 1. You may not vote on this poll

 
Thread Tools
Eng_A_Fahmy's Avatar
Junior Member with 1 posts.
 
Join Date: Jun 2004
Experience: Advanced
17-Jun-2004, 05:58 AM #1
Question need to restore users mail boxes with sendmail
hi all,
My mail server (sendmail) had encountered many errors, therefor I installed a new one (RedHat Linux 9) (sendmail-8.12) on another machine, now I need to restore users mail boxes from the old machine(RedHat 9) , I have already shared the /var/spool/mail on the old machine, and tried to access them from the new machine but they were locked and every file for every users has read and write premission for the oner only, even the premissions that given for the dir. /var/spool/mail in /etc/exports are read and write.

please tell me how can i unlock these files and get a premission to them and also tell me how can i restore these mail boxes.

thank you
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
17-Jun-2004, 08:09 AM #2
well I am a bit confused. It sounds like you set up a samba share for the mail files? Are you trying to map them from one machine to another, or flat move them?

If you are trying to move them I would just use scp to copy the files from the old sendmail server to the new one. Then as admin on the new server you can change any and all of the permissions of the mail files iwth chmod and chown.

To use scp you use a command like so:
scp -r (FROM) (TO)

so for instance to copy you files it looks like you might want:
scp -r admin@OLDMACHINEIP:/var/spool/mail/* /var/spool/mail/

This would be run on the new server ussing an ssh connection. this means you have to have ssh installed and running on the old server and the ssh client on the new one.

HTH
__________________
www.ricksweb.info
www.2webheads.com
Quote:
Techies just think a little differently...at least that's what they keep telling me.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 10:59 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.