Re: How to only get new mail

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
RW <[email protected]> wrote:
> 
> I don't use --idle myself but my understanding is that it causes
> getmail to stay logged for ever. So running it from a 5 minute crontab
> entry will lead to multiple getmail instances. 

I missed that in the OP's message -- yes, running getmail from cron with
--idle doesn't make much sense.  Even just running getmail every 5 minutes
from cron without doing something to prevent multiple simultaneous getmails
from all retrieving mail at once will lead to duplicate messages and other
issues.

http://pyropus.ca./software/getmail/faq.html#faq-how-to-mutex

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.