• [^] # Re: getmail

    Posté par (site web personnel, Mastodon) . En réponse au message Aide pour script imap2mbox. Évalué à 3.

    Ma crontab :

    @daily nanawel getmail -r /home/nanawel/.getmail/config
    

    Avec dans le fichier /home/nanawel/.getmail/config :

    [retriever]
    type = SimpleIMAPSSLRetriever
    server = imap.server.tld
    username = *REDACTED*
    password = *REDACTED*
    #mailboxes = ("Inbox") # optional - leave this line out to just grab inbox
    [destination]
    type = Mboxrd
    path = ~/.getmail/imap.mbox
    [options]
    verbose = 2
    message_log = ~/.getmail/imap.log
    read_all = false
    

    Valeurs server, username et password à adapter évidemment 😉