On Wed, Apr 15, 2015 at 03:09:16PM +0200, Gour wrote: > Oswald Buddenhagen <oswald.buddenha...@gmx.de> writes: > > so maybe what you want instead is to simply use mbsync to get the mail, > > and after syncing run the processor over the already synced maildir (and > > then sync again to push any modifications)? > > Well, I'm not sure how to process email after fetching/syncing it with > mbsync? > run inotifywait (package inotify-tools under debian) on your INBOX' new/ subdir, pipe that to a 'while read' loop and look at the newly appearing files (use some headers to filter out locally created files - absence of Received: headers should be a good indicator). then just move/delete them as you like (take care to give them new names while moving).
i wouldn't be surprised if you would find an existing solution for that. > > maybe illustrate the precise flows of some example messages with > > different life cycles. > > OK. Let's assume several scenarios: [...] > > Does it make sense? > i guess it does. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel