Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display drive driver drivers email error ethernet excel firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
need to restore users mail boxes with sendmail


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

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

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.


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 help people like you solve 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 -4. The time now is 03:24 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.