LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-16-2024, 11:14 AM   #16
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,930

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566

You could also try protocol IMAP instead of POP3. Should your mail accounts still work with password instead of OAuth2?
 
Old 05-16-2024, 06:30 PM   #17
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 282

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by Petri Kaukasoina View Post
You could also try protocol IMAP instead
of POP3. Should your mail accounts still work with password instead of
OAuth2?
I got the same error with IMAP (Port 993). But looking at verbose (-v)
output of fetchmail, I'm wondering if it's got something to do with
SSL/TLS.

I'm back to testing only using tropics@jdgblogs.com, because the ideal
way is to use that email address, which I set it up for years ago (and
kept forgettting to set it up).

This is the error message I got using the command line shown below:

-----------------------------------------------------------
(18:14) % fetchmail -v -ssl [inserting blank line for clarity]

fetchmail: 6.4.27 querying mail.jdgblogs.com (protocol POP3) at Thu 16 May 2024 06:14:06 PM CDT: poll started
Trying to connect to 70.32.23.120/995...connected.
fetchmail: Server certificate:
fetchmail: Issuer Organization: Let's Encrypt
fetchmail: Issuer CommonName: R3
fetchmail: Subject CommonName: autodiscover.jdgblogs.com
fetchmail: Subject Alternative Name: autodiscover.jdgblogs.com
fetchmail: Subject Alternative Name: cpanel.jdgblogs.com
fetchmail: Subject Alternative Name: cpcalendars.jdgblogs.com
fetchmail: Subject Alternative Name: cpcontacts.jdgblogs.com
fetchmail: Subject Alternative Name: jdgblogs.com
fetchmail: Subject Alternative Name: jinxgames.jdgblogs.com
fetchmail: Subject Alternative Name: mail.jdgblogs.com
fetchmail: Subject Alternative Name: webdisk.jdgblogs.com
fetchmail: Subject Alternative Name: webmail.jdgblogs.com
fetchmail: Subject Alternative Name: www.jdgblogs.com
fetchmail: Subject Alternative Name: www.jinxgames.jdgblogs.com
fetchmail: mail.jdgblogs.com key fingerprint: C9:3D:E9:44F:49:BE:BB:AD:5E:08:AE7:B2:4BE
fetchmail: SSL/TLS: using protocol TLSv1.3, cipher TLS_AES_256_GCM_SHA384, 256/256 secret/processed bits
fetchmail: POP3< +OK Dovecot ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK
fetchmail: POP3< CAPA
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< RESP-CODES
fetchmail: POP3< PIPELINING
fetchmail: POP3< AUTH-RESP-CODE
fetchmail: POP3< USER
fetchmail: POP3< SASL PLAIN LOGIN
fetchmail: POP3< .
fetchmail: POP3> USER tropics
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< -ERR [AUTH] Authentication failed.
fetchmail: [AUTH] Authentication failed.
fetchmail: Authorization failure on tropics@jdgblogs.com
fetchmail: For help, see http://www.fetchmail.info/fetchmail-FAQ.html#R15
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Logging out
fetchmail: 6.4.27 querying mail.jdgblogs.com (protocol POP3) at Thu 16 May 2024 06:14:09 PM CDT: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 3

-----------------------------------------------------------

Can anyone see anything in the verbose logs that looks wrong?

I tried using a super-simple password and using cut/paste into the
.fetchmailrc file, just to be sure the two matched ... no change. I also
tried variations of the --ssl, --sslproto, and --sslcertck. No change.

It's time to feed Jinx (my rather huge Norwegian Forest Cat) and get my
dinner.

Thanks,
--jim
 
Old 05-18-2024, 06:54 AM   #18
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 282

Original Poster
Rep: Reputation: 23
Well, I've given up on fetchmail. I'm going back to a method
I used when I was (most unfortunately) running M$: use an
extension under thunderbird that allows extracting folders
as an mbox. Then I'm going to use a Tcl mbox program (it's
supposed to convert mbox to MH, but it's going to be extracting
messages from an mbox file and piping them to JStrack's filt.tcl.

Ir'a not real time like it's supposed to be under Unix, but it works.

Thanks for the help everyone!
--jim
 
Old 05-18-2024, 08:24 AM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
Quote:
Originally Posted by JinxsDad
I'm wondering if it's got something to do with SSL/TLS.
I was thinking exactly the same thought. I don't know in detail the Public/private key pairing, but I would imagine you have to supply a public key, and get theirs, before anything can be decrypted.

Why don't you repeat the process of collecting their public key and submitting theirs, or turn off encryption? You're not in Special Ops now .
 
Old 05-19-2024, 06:40 PM   #20
JinxsDad
Member
 
Registered: Apr 2023
Location: Fort Walton Beach, FL
Distribution: Slackwareb15
Posts: 282

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by business_kid View Post
I was thinking exactly the same thought. I
don't know in detail the Public/private key pairing, but I would imagine
you have to supply a public key, and get theirs, before anything can be
decrypted.

Why don't you repeat the process of collecting their public key and
submitting theirs, or turn off encryption? You're not in Special Ops now
.
I thought that was all automatic. Anyways, it's a bit of a kludge, but
I've got it doing what I need.

First, I use Thunderbird, which has an extension called
ImportExportToolsNG. I use that to convert the inbox for
tropics@jdgblogs.com to an mbox, stored in /home/jim/jstrack/filt/mbox
called tropbox. When it gets email from WX-ATLAN (the only thing it gets
in that email address), it runs a command to speak the word, tropics
(UNLESS I have it silenced, e.g., when doing video captures).

Second, I run a sh script called getTropics, which does the following:

1) reminds me (or user for next release of JStrack) to extract the
tropics (whatever they call it) to the above dir. It then pauses for
an ENTER.

2) It then runx mbox.tcl (a combination of a package that reads mbox
headers added inside the mbox2mh Tcl code (Tcl8.4 couldn't find that
package (same error with TLS ... just won't see it even if you hard
code its location) and one that actually extracts all of the messages
from the mbox.

3) It then pipes each message via a for i in * type loop to the filt.tcl
script. Most messages are simply added to a file that provides all of
the reference data. One type file, the NHC's FORECAST/ADVISORY is
sent to another script that "reads" that product and extracts the
actual complete data on the storm and adds it to the bottom of a
special file with tracking information. When JStrack is running, it
will see that file modified in real-time and update its tracking chart
and, if the user has it configured, send them whatever alert they
configured.

So it's all where it needs to be, and this method can fix the problems
win$ users have always had getting the data (JStrack was originally only
written for Unix variants, like Linux, Ultrix, SunOS, Slowaris, IBM's AIX
(spit), FreeBSD, NetBSD, and the list goes on and on forever). But
win$$$ doesn't have an MTA - MDA - MUA setup. M$ likes massively huge,
all-in-one bloatware. That means no procmail which, if fetchmail was
working, would be the next step in getting the data in true real-time.

Oh, and no, I'm not in 16th Special Operations Wing Intelligence anymore.
That was from July 1999 to 1Aug01, then 11Sep01 to 01Apr22, then HQ
AFSOC//IN until mid-2003, then USSOCOM//J2 (J2 is Joint Intelligence),
all at Hurlburt Field, FL (just a bit down Hwy 98 from here). At the
Wing, I was a (self-titled) Intelligence Systems Analyst, meaning I got
to play with all of the cool toys that never existed and likely never
will. I also ran the classified web pages for getting intel and other
materials out to deployed personnel both on the collateral (secret) side
and on the high side (top secret//sci). That was, of course, when I
existed. Sometimes I didn't exist, and nothing I did or was part of ever
happened.

I know this is a bit off-topic, but I didn't start the bit about not
being in intelligence anymore, so what the hell.... My dagger mount,
from 1Apr02, when I officially was hijacked back to the HQ, reads:

Quote:
For All The Soldiers You've Never Saved
In All The Places You've Never Been
During The Time You Were Never Here
While the whole mbox issue is not fixed, my needs, so I'm marking
it solved, as I won't be following it anymore.

Thanks, everyone!
--jim
 
Old 05-20-2024, 09:30 AM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342Reputation: 2342
Glad you're sorted. Your kludge reminded me of this particular BSD Fortune cookie:
Quote:
Elephant, n: A mouse built to government specifications.
But "If it ain't broke, don't fix it!"
 
  


Reply



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
Simple Slackware vs simple Arch vs simple Frugalware punchy71 Linux - Distributions 2 08-28-2012 02:30 PM
Simple Question - needing a simple answer plz linuxnoob_sowhut Linux - Distributions 1 12-01-2010 03:54 AM
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 09:03 PM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 04:08 AM

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

All times are GMT -5. The time now is 08:40 AM.

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