Up to now we get new mails with the tool getmail.
It works well. There is a cron job which runs every minute.
Is there a way to get the mail faster?
I see two ways:
- Solution 1: run the cron job every 30 seconds
- Solution 2: maybe use IMAP idle. I means a more daemon like way, not a CLT which gets called every minute.
- Solution 3: ???
Solution 1 is simple:
* * * * * getmail; sleep 25; getmail
Better solutions are welcome.
Protocol: IMAP