Use getmail to read only new messages

If your getmail is giving multiple copies of messages are each run, then do this in your configuration file in ~/.getmail/ directory.

verbose = 0
read_all = false
delete = true
message_log = ~/.getmail/log

is by default True. You need to set it false else it will create many copies of same message and will make your life miserable.


About Dilawar

Graduate Student at National Center for Biological Sciences, Bangalore.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s