Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save raoulbhatia/e88838ec2ef6f6a584d55c0c56de8d14 to your computer and use it in GitHub Desktop.
Save raoulbhatia/e88838ec2ef6f6a584d55c0c56de8d14 to your computer and use it in GitHub Desktop.
# getmail configuration to be placed in $HOME/.getmail/myemail@gmx.at
# Launch the getmail4 in a "daemon" mode via:
# $ while :; do getmail -v -r myemail@gmx.at -iINBOX; sleep 5; done
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmx.net
port = 993
username = myemail@gmx.at
password = mypassword
mailboxes = ('INBOX')
# the mailbox "z-DONE" serves as a backup folder and has to be manually created via the GMX web interface
move_on_delete = z-DONE
[destination]
type = MDA_external
path = /usr/lib/dovecot/deliver
arguments = ('-e', '-d', 'firstname@lastname.at')
user = vmail
group = vmail
[options]
read_all = false
delete = true
received = false
delivered_to = false
message_log = ~/.getmail/myemail@gmx.at.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment