Re: can't fetch mail

Albrecht Dreß via balsa-list <[email protected]> Tue, 07 Jun 2022 19:54:22 +0200
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
--===============1246258375062540479==
Content-Type: multipart/signed; micalg=PGP-SHA512;
	protocol="application/pgp-signature"; boundary="=-sYBgnEyZ+4X18NmEYKDk"

--=-sYBgnEyZ+4X18NmEYKDk
Content-Type: text/plain; charset=UTF-8; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Jack!

Am 05.06.22 23:54 schrieb(en) Jack Ostroff via balsa-list:
> ** (balsa:8879): DEBUG: 17:43:34.702: Networkis unavailable (Sun 05 Jun 2=
022 05:43:34 PM EDT)

That message is printed by function print_network_status() in src/main-wind=
ow.c.  Balsa uses a GNetworkMonitor (returned by calling g_network_monitor_=
get_default()) to check if the network is available or not.  If you see thi=
s message only /once/, it is most like being emitted from balsa_window_init=
() (in the same source file) using the return value of calling g_network_mo=
nitor_get_network_available().  The docs say

<quote>
Checks if the network is available. "Available" here means that the system =
has a default route available for at least one of IPv4 or IPv6. It does not=
 necessarily imply that the public Internet is reachable.
</quote>

We connect to the =E2=80=9Cnetwork-changed=E2=80=9D of the monitor, which s=
hould print a similar message whenever the network state changes.

> but I have no idea if this really indicates some network problem or is ju=
st a red herring (false lead) as balsa is able to send messages by smtp.=C2=
=A0 Next step will be to debug and look for a backtrace from the place that=
 message is printed.

In libbalsa/server.c (libbalsa_server_test_can_reach*) we have additional f=
unctions for checking if a remote server is reachable, which internally cal=
l g_network_monitor_can_reach_async() and g_network_monitor_can_reach_finis=
h().  I can only guess that there /might/ be an issue with your network or =
the gio configuration.  SMTP may work if you use a local MTA (localhost or =
127.0.0.1) as that address should always be reachable.

Best, Albrecht.
--=-sYBgnEyZ+4X18NmEYKDk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAmKfkM4ACgkQTKlvDmfn
2fhXNQgAzMe9UEz2GjSZcjlmI7fdskLORYw3f5tz9musIInJKr7BK2wZz0RpMo6i
5gzC9Dv3JSoG300w98z8vGrbHPBKc3dwPen2ma3SjQkRitE9bSO4Aa+kE7Jwo+jq
R17s2fcBeddkgy8kxRlpnYANgVWPR6KXDyWf/CoQqNZFg13Pj+0IlwZZFv4vYtqv
AZ/zJI38NxB8bNhwu2sStl6jG0fXVGfMmK7gxQ3EnOIhrRAfc6py4f0MD2+Oou16
FOAx29JdjleXuy7umLtMKnVwsNd8CghdHnTJ2qtvULvyhsJGzT0qOKLVtd3s8cKI
E7hbiPGuwSV76alM85ltHwZKIgbsVA==
=pJvt
-----END PGP SIGNATURE-----

--=-sYBgnEyZ+4X18NmEYKDk--

--===============1246258375062540479==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list

--===============1246258375062540479==--