This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Getmail Idler Script v2 | |
# Will Rouesnel | |
# | |
# This is a pure Python threading affair - there are better ways to do things | |
# epoll but there are much better libraries (like gevent) for that type of | |
# thing. | |
# | |
# Note: this script assumes you're running getmail with the "delete" option for | |
# the mailbox it checks - i.e. your inbox should always be cleared of all mail. |