Index: [Article Count Order] [Thread]

Date:  Mon, 3 Dec 2007 23:43:24 -0500
From:  "Mitchell Rothschild" <mjr (at mark) misswebhost.com>
Subject:  [coba-e:11343] Re: how to move mail spools over from raq to MSI server
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <00cc01c83630$346c1dd0$9d445970$@com>
In-Reply-To:  <200712020824.24654.lesmith (at mark) ecsis.net>
References:  <03a101c8327b$f7f342a0$0101a8c0 (at mark) systemax> <200711291231.34171.lesmith (at mark) ecsis.net> <051301c83483$fc187300$f4495900$ (at mark) com> <200712020824.24654.lesmith (at mark) ecsis.net>
X-Mail-Count: 11343

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