I do it without pause mta (although I don't necessarily recommend it) and with offlineimap instead of rsync.
Cheers > On 27/10/2013, at 19:01, Chris Smith <m...@chriss.me.uk> wrote: > > Hi, > > I'm currently running a simple OpenSMTPD/procmail/mutt setup on the end > of a hosted machine on 5.3. To access mail, I'm SSH'ing into > the box and firing up mutt. However I need to get "occasionally > connected" mail working on my laptop so I can read/respond to it there > and deliver back to the hosted machine. I'm using mbox as the mailbox > format at the moment. I may be offline for 2-3 days at a time. > > I'm considering doing the following things: > > * Move to maildir at both ends. > * Set up OpenSMTPD on the laptop and set it to "pause mta" while > disconnected. Also set it up to relay through the hosted machine > via auth+TLS. > * Write a script that will (when I know I'm connected): > 1. unpause the MTA and flush the queues, then pause it again. > 2. rsync (over SSH) the maildir from the hosted machine. > > Can anyone see any flaws in this plan or know of a better solution? > > For ref, I really don't want to bother with a whole Cyrus/Fetchmail/ > IMAP/dovecot stack of turtles. It's too much pain to keep running. > > Any help appreciated! > > -- > Chris Smith > * > *