I have a laptop which is sometimes disconnected from my main PC.
I want to use mutt alternatingly on both systems, for the same
inbox and mail folders.
Does anyone have a proven method of doing that?
Like that:
work on main PC
synchronize
disconnect
work on laptop
connect
synchronize
... [ start over ]
1. I'm thinking of using rsync for the mail folders. I'd have to use
an mbox since rsync doesn't know about mail spool locking.
Can I somehow run mutt in batch mode to move all mail from
/var/spool/username to ~username/mbox before syncing?
2. Is there a better tool for handling mail boxes than rsync?
One that merges two mailbox files but doesn't create
duplicate identical messages?
3. I need to guarantee that mutt isn't running while I do the
rsync, otherwise something will be corrupted.
Is it possible to gracefully terminate a running mutt?
killall -QUIT mutt
mutt:
-> kill editor
-> postpone currently composed message
-> do a `quit' (including expunge)
-> remove pid file
-> exit(0)
wait for pid file to go away and rsync
[ just dreaming ]
If someone has experience with that situation I would
appreciate scripts or comments; otherwise I'll experiment
and perhaps report back.
Regards,
Claus
--
Claus Fischer <[EMAIL PROTECTED]>