From: BitTwister@mouse-potato.com   
      
   On Thu, 2 Jun 2022 22:05:09 -0000 (UTC), root wrote:   
   > Rinaldi wrote:   
   >>   
   >> I can confirm this works. Seemed rather silly when I was doing it.   
   >>   
   >> .fetchmailrc stanza:   
   >>   
   >> poll pop.gmail.com with proto POP3 service 995   
   >> user '$USER' there with password '$PASSWD' is 'me' here ssl   
   >>   
   >> rinaldi   
   >   
   > Thanks rinaldi, that's what I had before the oauth2 was enabled.   
   > It no longer works for me.   
   >   
      
   Went through the google auth procedure to get app password.   
   logged into my google email account, brought to settings, show all   
   and set google mail to use imap. Configured it to do whatever the   
   client says to do with mail message.   
      
   installed dovecot on my system so I can use imap in claws-mail and   
   thunderbird apps. I did have to change my old google email login password   
   to new google app password.   
      
   Works for me. I did change from pop to imap.   
   # cat ~just_me/.fetchmailrc   
   #***************************************   
   # /accounts/just_me/.fetchmailrc   
   #***************************************   
      
    #********************   
    #* get any ISP email   
    #********************   
   poll "imap.gmail.com" with proto IMAP port 993   
    user "just_me_isp@gmail.com" there with password "16_digit_google_app_pw_here"   
    is just_me here   
    options   
    ssl # download "seen" and "unseen" messages   
    fetchall # retrieve old and new messages   
    stripcr # Strip carriage returns from ends of lines   
    nokeep # delete new messages after retrieval   
      
      
    #****************************   
    #* get any credit card email   
    #****************************   
      
   poll "imap.gmail.com" with proto IMAP port 993   
    user "just_me_crd@gmail.com" there with password "16_digit_google_app_pw_here"   
    is just_me here   
    options   
    ssl # download "seen" and "unseen" messages   
    fetchall # retrieve old and new messages   
    stripcr # Strip carriage returns from ends of lines   
    nokeep # delete new messages after retrieval   
      
      
   #*********** end accounts/hotmail/.fetchmailrc *******************   
      
   Did all the above for my   
    # grep mail /etc/passwd | wc -l   
    7   
   email accounts each of which runs fetchmail cron job hourly.   
      
   I also have a root cron which checks all linux mail boxs and   
   uses xmessage to tell me who needs to read any new mail.   
      
   With this setup there is no reason to log into gmail's email website.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|