Page 1 of 1

Fetchmail OAUTH2

Posted: 2021/05/04 10:32:44
by gw1500se
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.

Re: Fetchmail OAUTH2

Posted: 2021/05/04 13:17:26
by sml
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.

Re: Fetchmail OAUTH2

Posted: 2021/05/04 13:55:10
by gw1500se
Thanks for the reply. Unfortunately that is not an option with ATT/Yahoo which is why I'm looking for the patch.

Re: Fetchmail OAUTH2

Posted: 2022/05/17 18:18:16
by gw1500se
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.

Re: Fetchmail OAUTH2

Posted: 2022/05/17 18:37:37
by TrevorH
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.

Re: Fetchmail OAUTH2

Posted: 2022/10/20 10:04:14
by zanki
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