Fetchmail OAUTH2

Issues related to applications and software problems
Post Reply
gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

Fetchmail OAUTH2

Post by gw1500se » 2021/05/04 10:32:44

It appears that Fetchmail 7 is not yet available for CentOS 7 which contains builtin support for OAUTH2. However, there is supposed to be a patch for Fetchmail 6 that adds that support. Unfortunately I cannot find that patch. Can someone help me install OAUTH2 support? TIA.

sml
Posts: 305
Joined: 2020/01/17 09:01:44

Re: Fetchmail OAUTH2

Post by sml » 2021/05/04 13:17:26

I'm not aware of any distribution where fetchmail 7 is available. In fact, the fetchmail web site states:
On 2021-04-24, fetchmail 6.4.19 has been released
And their FAQ has this answer:
I9. How can I use fetchmail with GMail/Google Mail?
Google has started pushing towards more complex authentication schemes based on OAuth 2.0 that require clients and users to jump through quite a few hoops, and use web browsers for signing in. If this hinders access to your account through fetchmail, you may need to turn on access for "less secure apps" at https://myaccount.google.com/lesssecureapps.

gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

Re: Fetchmail OAUTH2

Post by gw1500se » 2021/05/04 13:55:10

Thanks for the reply. Unfortunately that is not an option with ATT/Yahoo which is why I'm looking for the patch.

gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

Re: Fetchmail OAUTH2

Post by gw1500se » 2022/05/17 18:18:16

Just as a follow-up. I was able to install OpenSSL 3 via source and it seems to work. Once done, I pointed fetchmail 7 configure to that and it compiled fine. I have yet to test it completely but so far it is working.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Fetchmail OAUTH2

Post by TrevorH » 2022/05/17 18:37:37

You really really don't want to build and install a different openssl on CentOS unless you install it to a location where nothing can find it by accident.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

zanki
Posts: 1
Joined: 2022/10/20 10:00:08

Re: Fetchmail OAUTH2

Post by zanki » 2022/10/20 10:04:14

How have you solved this? at compile time?

>> undefined reference to `OpenSSL_version'
>> undefined reference to `OpenSSL_version_num'
>> undefined reference to `OPENSSL_sk_num'
>> undefined reference to `OPENSSL_sk_value'
>> undefined reference to `OPENSSL_sk_free'
>> undefined reference to `TLS_client_method'
>> undefined reference to `SSL_CTX_set_options


/home/cosmos/fetchmail-7.0.0-alpha9/socket.c:1072: referencia a `SSL_CTX_set_options' sin definir
/home/cosmos/fetchmail-7.0.0-alpha9/socket.c:997: referencia a `OPENSSL_init_ssl' sin definir
/home/cosmos/fetchmail-7.0.0-alpha9/socket.c:998: referencia a `OPENSSL_init_ssl' sin definir
/home/cosmos/fetchmail-7.0.0-alpha9/socket.c:999: referencia a `OPENSSL_init_crypto' sin definir
/home/cosmos/fetchmail-7.0.0-alpha9/socket.c:1000: referencia a `OpenSSL_version_num' sin defini

Post Reply