Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-19 Thread Gedalya
On 10/18/2014 05:39 PM, c128 mail wrote: Bit more investigation... So - the incrontab rule seems to work to the extent that if I directly ls the cur folder on the system then it's triggered. However, the only way I seem to be able to be able to get it to trigger from a mail client (I use

Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-19 Thread c128 mail
Switched to using /home/user/Maildir and, yes, I think you're totally right. With the changed location: Roundcube seems to work as it generates much more traffic with Dovecot - lots of opening and closing of connections and (when re-armed) the incrontab rule is triggered as you would expect

Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-18 Thread c128 mail
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/ IN_ALL_EVENTS,IN_ONESHOT /home/user/bin/mvmail.sh The incrontab rule does work, but only if I make a physical change in /home/user/Maildir/cur/ e.g. by moving a mail

Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-18 Thread Gedalya
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/ IN_ALL_EVENTS,IN_ONESHOT /home/user/bin/mvmail.sh The incrontab rule does work, but only if I make a physical change in

Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-18 Thread c128 mail
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 - I suspect incrontab is fine. Is this an oddity of Thunderbird

Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-18 Thread c128 mail
Bit more investigation... So - the incrontab rule seems to work to the extent that if I directly ls the cur folder on the system then it's triggered. However, the only way I seem to be able to be able to get it to trigger from a mail client (I use both Thunderbird and Roundcube) is by

Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-18 Thread Peter Chiochetti
Maybe off-topic, still: (If your remote server is imap,) why not use fetchmail? Here's a mangled/working /etc/fetchmailrc for an SSL imap account: poll smtp.provider.net protocol IMAP port 993 user 'som...@somewhere.com' is 'someone' here password 'MyPass123' folder 'INBOX'

Re: Fwd: Re: Wiki advice on running getmail on INBOX access - how does that work?

2014-10-18 Thread c128 mail
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.