://github.com/marschap/fetchmail_wakeup approach
(with its getmail script) - dunno whether that would be any better in
this respect though?
On 19/10/14 11:25, Gedalya wrote:
On 10/18/2014 05:39 PM, c128 mail wrote:
Bit more investigation...
So - the incrontab rule seems to work to the extent
Hi,
I'm currently running getmail in a cron job every 2 minutes, so I was
quite intrigued by this on the wiki:
http://wiki2.dovecot.org/HowTo/TriggerGetmailOnIMAPAccess
Thing is - I couldn't see how it would work and, when I tried it, it
didn't work (at least not for me).
It details using
wrote:
On 10/18/2014 01:24 PM, c128 mail wrote:
Hi,
I'm currently running getmail in a cron job every 2 minutes, so I was
quite intrigued by this on the wiki:
http://wiki2.dovecot.org/HowTo/TriggerGetmailOnIMAPAccess
Thing is - I couldn't see how it would work and, when I tried it, it
didn't work
/10/14 19:50, Gedalya wrote:
On 10/18/2014 02:38 PM, c128 mail wrote:
What exactly did happen?
Oh, yeah, didn't make that clear ;-)
Nothing happened...not without coaxing.
If I forced a change to the directory, then it worked - but there
wouldn't be a change to the directory in normal
from another folder in
there. Just accessing the particular inbox doesn't seem to trigger
anything.
On 18/10/14 19:54, c128 mail wrote:
Yeah, I see what you mean - it should trigger by IN_ACCESS (from
IN_ALL_EVENTS) shouldn't it. I hadn't previously scanned over the full
set of events:
http
access to the particular mail folder, I
wonder, as that's my use case for testing this?
On 18/10/14 20:58, Gedalya wrote:
On 10/18/2014 03:26 PM, c128 mail wrote:
Just re-tried this, and it doesn't seem to fire getmail on access for me.
My incrontab is as follows:
/home/user/Maildir/cur
access to the
folder its monitoring...
On 18/10/14 21:20, c128 mail wrote:
Thanks for trying that.
I'm running:
Ubuntu 14.04, Linux 3.4.79 #1 SMP PREEMPT Wed May 14 18:19:18 CST 2014
armv7l armv7l armv7l GNU/Linux
incrontab 0.5.10
Just found that if I ls that directory, the rule is fired. So
Thanks - not so off-topic at all, just looking for a good solution
really to move away from using crontab to pull every 2 minutes.
I'm currently using getmail to pull from about 10 accounts - haven't
used fetchmail for quite some time, but that's definitely something to
look into.