Filtering messages after sync

2018-03-15 Thread Yuri D'Elia
I have one imap server that doesn't do any server-side spam filtering. As such I basically have to implement it locally. Is anybody already doing something like this using isync? I'd be fine with a way to trigger an executable on new messages in the INBOX folder, but I don't see an easy way to do

Re: Filtering messages after sync

2018-03-15 Thread Evgeniy Berdnikov
On Thu, Mar 15, 2018 at 04:58:41PM +0100, Yuri D'Elia wrote: > I'd be fine with a way to trigger an executable on new messages in the > INBOX folder, but I don't see an easy way to do that. It's quite easy. Example: touch timestamp.file mbsync ... find /path/to/inbox/ -type f -cnewer timesta