rsync-ing mailboxes
Giorgos Keramidas
keramida at ceid.upatras.gr
Sun Jul 16 17:24:12 EEST 2006
On 2006-07-16 16:43, Kostas Blekos <mplekos at physics.upatras.gr> wrote:
>
> Kali{mera,spera}
Kalispera Kosta :)
> xrisimopoiw to rsync gia na krataw mirror enos pc se ena allo. To
> rsync, omws, peirazei to access time twn mailboxes (mbox) me
> apotelesma, na nomizei o MUA (mutt) pws den yparxoun kainourgia emails
> (meta to rsyncing).
>
> Exei antimetwpisei kaneis paromoia katastasi?
> Idees?
Nai egw exw antimetwpisei kati tetoio. O elegxos pou kanei to mutt gia
nea mhnymata einai ligo xazos. Ti tha ginei dhladh an kaneis mount ena
file system me `-o noatime' gia na einai pio grhgoro?
To idio ginetai, parepiptontws, an kaneis kai kati san:
% tar cvf - mail | gzip -9c -> /g/backup/mail.tgz
Apo thn allh omws, to na kaneis parse ena mailbox (pou mporei na exei
xiliades mhnymata) gia na deikseis oti telika den exei kanena neo mhnyma
kostizei kai to Mutt nomizw den to kanei.
Yparxei ena patch pou kukloforei sto diktyo, to opoio pros8etei tetoia
dynatothta sto Mutt, alla den to exw dokimasei. Auto pou dokimasa
paliotera nomizw einai na metatrepsw ta UNIX mailbox arxeia se MH
folders, gia na dw an mporei to mutt na diaxeiristei ta ``sequences''
pou exei ena MH folder, opws to ``new'' gia paradeigma. Nomizw den to
ekane omws.
Enas quick n' dirty tropos na *anagkaseis* to mutt na kanei parse olo to
folder, einai na sthseis IMAP sto localhost ;-)
More information about the Linux-greek-users
mailing list