mirror of
https://github.com/neomutt/samples.git
synced 2024-11-22 08:23:49 +01:00
3
getmail
Stefan edited this page 2018-08-12 14:56:03 +02:00
getmail - retrieve messages from one or more POP3, IMAP4, or SDPS mailboxes and deliver to a maildir, mboxrd-format mbox file, or external MDA
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.server.tld
username = username
password = password
mailboxes = ("INBOX","Sent Items", "Spam", "Trash", "Sent", "Archive")
[destination]
type = MDA_external
path = /usr/bin/procmail
arguments = ("-f", "%(sender)", "~/.procmail/accountname.rc")
[options]
verbose = 1
read_all = false
delete = false
message_log = ~/.getmail/log
Delete mails after 7 days delete_after = 7