LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2018, 09:24 PM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Rep: Reputation: Disabled
Issues connecting to gmail from Thunderbird?


Hi.

I am on Slackware 14.2, 64-bit if it matters. My email is a gmail account. I don't know if this is a Thunderbird-gmail issue, or a Thunderbird-anybody issue. All I know is that in the past couple of weeks, I have been having issues sending emails about 50% of the time. I can go to my terminal and ping smtp.googlemail.com just fine, but Thunderbird can't connect to it. I suppose I should try to telnet 25 to it. And I've had a lot of issues where Thunderbird can send my email, but not the attachment that I'm forwarding to my wife at work. Does anyone know how to fix this? I am trying to run all Slackware-64, 14.2 stable, and I have yet to receive an updated kernel package from slackpkg, although I am capable of building a custom kernel if need be. Would that resolve this issue with gmail?
 
Old 01-13-2018, 09:58 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
When I encounter problems such as this, the first things I check are my port settings, logon settings (in Thunderbird for logging into the mail server), and encryption settings, trying the different options one at a time and testing after each change, but, since it works half the time, I can't see how it could be your settings. . . . .

What's most puzzling about this is the sporadic nature of the problem.

For testing purposes, I have two ideas.

When Thunderbird is working, do a traceroute to the mailserver and save the results to a file. When problems occur, repeat, and compare the two files. There might be something happening in between you and Google.

Also, you try testing with Kmail to see whether this is a Thunderbird problem or possibly something bigger.

Good luck.
 
Old 01-14-2018, 04:08 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
is your internet connection working otherwise?
have you tested - how?

do you see similar issues when using gmail's web ui?
 
Old 01-14-2018, 07:01 AM   #4
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,192

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Try in your google account => security "Allow less secure apps" setting enabled"
 
Old 01-14-2018, 04:17 PM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,262
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
The kernel has nothing do do with sending mail. Why would that be your 1st "guess" at the problem? You likely mis-configured either your internet settings, router/modem, Thunderbird or gmail or all.

If you set up 2-factor authentication, you have to generate an "app key" as you password and there are quirks depending if you use pop3 or imap. I've used pop3 for years but its not activated by default (see gmail settings).
References:
https://support.google.com/mail/answer/185833?hl=en
https://support.google.com/mail/answer/78892?hl=en
https://support.google.com/mail/answer/7104828?hl=en
https://support.mozilla.org/en-US/kb...bird-and-gmail
 
Old 01-15-2018, 03:10 PM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Thunderbird working fine here with gmail on Slackware64-current and Slackware64 14.2. I use IMAP.
 
Old 01-15-2018, 04:39 PM   #7
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
Thunderbird working fine here with gmail on Slackware64-current and Slackware64 14.2. I use IMAP.
I do too. The problem I'm having is when I try to SEND mail.
 
Old 01-15-2018, 05:02 PM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Quote:
Originally Posted by maschelsea View Post
I do too. The problem I'm having is when I try to SEND mail.
I understand. No problems here checking or sending mail. I tested this on both Slackware64-current and Slackware64 14.2.
Perhaps you inadvertently misconfigured TBird? Did you set permissions for TBird to use gmail? Firewall issues? Good luck!
 
Old 01-15-2018, 06:13 PM   #9
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
I understand. No problems here checking or sending mail. I tested this on both Slackware64-current and Slackware64 14.2.
Perhaps you inadvertently misconfigured TBird? Did you set permissions for TBird to use gmail? Firewall issues? Good luck!
I haven't set up an explicit firewall, and I've been using this exact Thunderbird config for years.
 
Old 01-15-2018, 06:22 PM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Quote:
Originally Posted by maschelsea View Post
I haven't set up an explicit firewall, and I've been using this exact Thunderbird config for years.
Google has ramped up their security settings as of late. It is now more difficult to connect to the gmail servers with some mail applications. Thunderbird is still a trusted gmail e-mail client, but, you need to allow (give permission) it to connect to the google mail server.
 
1 members found this post helpful.
Old 01-15-2018, 06:24 PM   #11
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Quote:
Originally Posted by maschelsea View Post
I haven't set up an explicit firewall, and I've been using this exact Thunderbird config for years.
On a side note I suggest that it is a good idea to run some type of firewall.
 
Old 01-15-2018, 06:24 PM   #12
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
Google has ramped up their security settings as of late. It is now more difficult to connect to the gmail servers with some mail applications. Thunderbird is still a trusted gmail e-mail client, but, you need to allow (give permission) it to connect to the google mail server.
How do I give it permission? I logged into the gmail webmail interface and looked around a bit but didn't find any way to grant permission to Thunderbird to send mail from.
 
Old 01-15-2018, 06:28 PM   #13
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Quote:
Originally Posted by maschelsea View Post
How do I give it permission? I logged into the gmail webmail interface and looked around a bit but didn't find any way to grant permission to Thunderbird to send mail from.
I give the Thunderbird e-mail client permission when I first click on it to set-up my gmail account. It will walk you through several screens where you enter your e-mail address, password, etc. The last window that pops open will ask you to allow Thunderbird to access the mail server.
 
Old 01-15-2018, 06:48 PM   #14
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by hitest View Post
Google has ramped up their security settings as of late. It is now more difficult to connect to the gmail servers with some mail applications. Thunderbird is still a trusted gmail e-mail client, but, you need to allow (give permission) it to connect to the google mail server.
Thanks for the info on this, hitest. I've always used IMAP, but I did check my T-Bird settings to be on the safe side. Everything seems to be in order.....but it does help to be aware of this stuff!

Cheers. Appreciated.


Mike.
 
1 members found this post helpful.
Old 01-15-2018, 09:55 PM   #15
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 776
Blog Entries: 1

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Quote:
Try in your google account => security "Allow less secure apps" setting enabled"
Pah... Thunderbird is a secure mail app. If it's not working, it's because it's not configured properly. The solution is not to allow less secure apps, but to properly configure your secure one.

Two settings to check are 1) outgoing (smtp) server settings in thunderbird (make sure authentication method is set to "OAuth2", and 2) log into gmail with browser, from the grid of google apps, select "my account," and then "Apps with Account Access," and ensure that thunderbird is on the list.

I had same trouble as OP because imap authentication settings were set to "OAuth2", but smtp settings were still "normal password" -- as soon as I changed smtp to "OAuth2," my issue was resolved.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] iptables + thunderbird + gmail lixe Linux - Security 2 10-29-2012 04:48 PM
Thunderbird and gmail over a proxy connection. dale_chip Linux - Software 1 02-29-2008 03:38 PM
Mepis-Thunderbird-gmail not working rony2 Linux - Software 6 01-24-2007 04:36 PM
Gmail + Thunderbird bug greeklegend Linux - Software 2 07-28-2006 11:41 PM
Thunderbird and Gmail acc johnnydangerous Fedora 3 03-17-2005 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration