There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
need to restore users mail boxes with sendmail

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

Reply  
Thread Tools
Eng_A_Fahmy's Avatar
Junior Member with 1 posts.
 
Join Date: Jun 2004
Experience: Advanced
17-Jun-2004, 06: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, 09: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.
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
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 10:05 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.