Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wish to find an MRA which will only download mail it hasn't previously downloaded (regardless of IMAP 'seen' flag) and pass them to a Mail Delivery Agent (MDA).

I wish to use a remote IMAP server as a constant e-mail storage which can be accessed by multiple MRAs and MUAs. Thus, if one client marks an email as read (IMAP 'seen' flag) it can still be delivered elsewhere.

Most solutions I have looked into (fetchmail, getmail, etc) allow the options of 'fetch all mail' (not ideal, for obvious reasons) and 'fetch unread mail' (some mails will be lost if read by another MUA). Neither option fits the bill for my use case.

Note: GNU Linux

share|improve this question
    
OfflineIMAP can synchronize messages this way (uni- or bi-directional); however, it only delivers directly to Maildir folders, not to a MDA. –  grawity Mar 15 '12 at 21:05
    
Thanks, I'll investigate! –  kjfletch Mar 15 '12 at 21:55

1 Answer 1

up vote 2 down vote accepted

OfflineIMAP works this way – it can synchronize entire mail accounts, and remembers which messages it downloaded.

The downside is that OfflineIMAP can only deliver from/to IMAP or Maildir folders, not to a MDA. This is necessary to support bidirectional sync between mailboxes.

share|improve this answer
    
I am currently tinkering with OfflineIMAP, it looks like it may do my job if I run a local IMAP! I can't find any examples of turning it between a uni-directional and bi-directional configuration, I don't even know what the default is; the documentation on this appears weak. Any insight? –  kjfletch Mar 16 '12 at 14:42
    
The default is bidirectional sync. But you can set the remote repository to read-only. –  grawity Mar 16 '12 at 16:28
    
Ah yes, I see it now. This feature was added in OfflineIMAP 6.3.4! I have been playing with the debian squeeze stock OfflineIMAP, which is currently 6.2.0. –  kjfletch Mar 16 '12 at 20:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.