Carl Johnson writes:

[...]

> How do you sync the mailboxes together?  That sounds like something
> that could be useful for my configuration.  Actually I am trying to
> move my old mail from Linux to FreeBSD, but syncing might be an easier
> way to handle moving it.

I use following sh script to synchronize my mailbox stuff which includes
Maildirs, Gnus configuration, procmail configuration, mairix db, etc.

#v+
#!/bin/sh

cwd=$(pwd)

cd
for i in .newsrc .newsrc.eld .newsrc~ .newsrc.eld~ .newsrc-dribble~ .gnus 
.gnus.elc .procmailrc mail/ .maildir/ .mutt/ Mail/ News/ .mairix/; do
        if [ -d ${i} ]; then cd ${i} ; fi
        rsync -rvzdlt --delete /disks/bsd-home/${USER}/${i} .
        if [ -d $HOME/${i} ]; then cd ; fi
done
cd ${cwd}
#v-

HTH
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“We could tell you what it's about. But then, of course, we'd have to
kill you.” (tagline of movie "Sneakers", 1992)

Attachment: pgpgTGHiZ7Mv2.pgp
Description: PGP signature

Reply via email to