An approach to mixing lave & historic email
graeme vetterlein <[email protected]> Mon, 5 Feb 2024 17:27:39 +0000
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Message-ID | <[email protected]> |
All, I'm trying to achieve something using fetchmail and I seem to rather "swimming against the tide". I wonder if a different approach is in order. I run an SMTP server @ home (actually called smtp.home [via CNAME] ) and I have recently rented use of smtp.remote (not it's real name) Stage1: I did fetchmail(imap) every 5 minutes of smtp.remote (using fetchall option) and delivered to smtp.home People then read email via Thunderbird via imap to imap.home (dovecot access to local files) All works well, but you can only send and receive email while you can "see" smtp.home (so on local LAN ... no holes in firewall) So Stage2: Do the fetchmail(imap) less frequently (e.g. daily) and use the keep option (and no fetchall) Users can now imap to both imap.home and imap.remote and see similar (but more or less up to date) views. They can also send mail from both locations. Stage3: Delete mail from imap.remote older than say 1 year Now "recent email" is on imap.remote while historic is held on imap.home, there is significant overlap. The idea being , when you're out "on the road" you lack access to history but you can deal with current day-to-day issues using a phone. ================ Problems ============= 1: Getting copies of "Sent" mail from imap.remote ... Solved using maildrop(1) ...needed to save by sender not recipient 2: Mail in inbox at imap.remote that had been "read" by "a phone" , was not downloaded by fetchmail(imap)....Looks like the rule for --keep and "no fetchall" is only download stuff not already "seen" by **somebody**. What I really want of course is "stuff not already seen by **me**". Now I note from uidl.c that pop3 does this differently...should I pop the mail to achieve the desired effect ... bear in mind I'd be skipping a years worth of mail to read one message? ...I guess I'm looking for a "cursor" to mark where "I" have downloaded to ... so e.g. multiple clients could "mark their place" and download ...anything after message No XXX. _______________________________________________ Fetchmail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fetchmail-users