What are the options in the getmail configuration?

What are the options in the getmail configuration?

There is also an optional section named options , which gives getmail general configuration information (such as whether to log its actions to a file), and other sections can be used to tell getmail to filter retrieved messages through other programs, or to deliver messages for particular users in a particular way.

How do I store my IMAP password in getmail?

To store your POP/IMAP account password into the Gnome keyring, ensure the password is not provided in the getmailrc file, and run getmail with the special option –store-password-in-gnome-keyring; getmail will run, prompt you for the password, store it in the Gnome keyring, and exit without retrieving mail.

Which is an example of a getmail file?

Some examples: This is a tuple of items, each of which is a 2-tuple of quoted strings. You can think of this as a list of pairs of quoted strings. The retriever section of the rc file tells getmail what mail account to retrieve mail from, and how to access that account.

Do you need to create a rc file for getmail?

If you want to retrieve mail from more than one mail account, you will need to create a separate rc file for each account getmail should retrieve mail from. The configuration file format is designed to be easy to understand (both for getmail, and for the user).

What do the two parts of getmail do?

The first is retriever , which tells getmail about the mail account to retrieve messages from. The second is destination , which tells getmail what to do with the retrieved messages.

How can I retrieve mail from more than one email account?

The default name is getmailrc . If you choose a different filename, you will need to specify it on the getmail command line. If you want to retrieve mail from more than one mail account, you will need to create a separate rc file for each account getmail should retrieve mail from.