Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 16:12:18 -0600 (CST)
From:      Marius Strom <marius@alpha1.net>
To:        Robert Hough <rch@qserve.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Moving mail
Message-ID:  <Pine.BSF.4.20.0003201610010.43091-100000@beaker.alpha1.net>
In-Reply-To: <4.2.0.58.20000320171830.00bec720@qserve.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert,
If you are continuing with standard V7 spool files, scp and perms maybe
the easiest way:

newmail# scp user@oldmail:/var/spool/mail/* /var/spool/mail
....
newmail# cd /var/spool/mail
newmail# for i in *; do
 chown $i $i
 chgrp mail $i
done

If you're switching from V7 to mbox or some other format, I'd recommend
formail(1) (note there's only one m in formail)

-- 
Marius Strom <marius@alpha1.net>
Professional Geek/Unix System Administrator
Alpha1 Internet <http://www.alpha1.net>;
http://www.marius.org/marius.pgp 0x42C74CBA *UPDATED PGP KEY 2/24/2000*

In theory, there is no difference between theory and practice...
...In practice, there is a big difference.

On Mon, 20 Mar 2000, Robert Hough wrote:

> I'm currently moving all of our users off a very old, and very obsolete 
> machine. I'm looking for a good way of moving the actual mail from the 
> older server to the new. My first thought was to just scp it all over, the 
> correct the permissions, but that seems like a serious amount of work. My 
> second thought was using fetchmail, but that seems to be just as much of a 
> headache.
> 
> So... Is there a better way of going about this? I'm prepared to do any of 
> the above, but figured I would email and see if anyone else had some ideas 
> on the subject. If you've done something like this in the past, or are 
> planning on it in the future, I'd be eager to see your approach. Thanks
> 
> 
> 
> --
> Robert Hough (rch@qserve.net)		Qserve Internet, Inc.
> http://www.qserve.net/				Ph: (317)802-3036
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0003201610010.43091-100000>