Mitchell Rothschild wrote:
> Thank you
> Mitch
>
> On Saturday 01 December 2007 19:38, Mitchell Rothschild wrote:
>
>> Jim,
>>
>> Yes, but _highly_ recommend you copy all the appropriate files to
>> the new server first, then use "cat old/home/spool/mail/<user1> >>
>> /home/sites/*/users/<user1>/mbox NOTE the double arrow (>>) as this
>> will append to the existing mailbox just in case it is receiving mail
>> or working while you are doing the copy.
>> Otherwise you will simply replace (the scp) what is there now.
>>
>> Hi,
>>
>> This works great....
>> After I copy the files over and add the mail to the new files.
>> How can I erase the mail in the old file..this way I can check the
>> next day and do the process over to catch any mail from dns servers
>> still delivering mail to the old server.
>>
>>
>
> Jim,
>
> Quite a few ways to do this also, but easiest (to me) is just " >
> old/home/spool/mail/<user1>"
> Note the single arrow. That copies "nothing" (null) to the existing mailbox
> essentially emptying the file but leaving the permissions and such alone.
>
> --
> Larry Smith
> SysAd ECSIS.NET
> sysad (at mark) ecsis.net
>
>
>
Thanks all - I think I did it successfully as things are running and no
one is complaining. I did not leave myself enough time for
troubleshooting though as I left for vacation a few days after the
switch. I checked the server and it was working fine on the Sunday that
I left for the tropics, but of course Monday it was froze up (web page
worked but email/webmail would not). Of course I was out of touch until
4 days later when I managed to log into my other email account from the
islands and discovered panic at the office because of email failure. I
had them reboot the server and it fixed whatever the problem. I don't
know why it would have happened and doesn't give me confidence in the
server. Haven't looked through the log files yet as catching up on other
fires. Thanks again for help!
--
Jim Dory
Engineering
City of Nome
PO Box 281
102 Division St.
Nome, AK 99762
907.443.6604
http://www.nomealaska.org
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.