I configured the libravatar plugin for Claws Mail. Afterwards I noticed in the logs (~/.xsession-errors) the following hint: failed to load image '/home/foo/.claws-mail/avatarcache/retro/....': failed to determine format of file .... (translated - the specific wording may differ a bit) The referenced file above contains the following: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="https://cdn.libravatar.org/avatar/....?s=48&d=retro">here</a>.</p> </body></html> Thus it looks like the plugin does not follow up on redirects (301). Thank you for your time and the plugin!
Created attachment 2057 [details] Libravatar plugin preferences
Since you don't mention it, do you have the "Allow redirects to other sites" checkbox enabled? (see attached image for location within plugin preferences)
> Since you don't mention it, do you have the > "Allow redirects to other sites" checkbox enabled? Good point! No, indeed the setting was disabled (by default, I guess). After enabling the setting, the behavior changes slightly. Now the created file below "~/.claws-mail/avatarcache/" is empty (zero bytes) instead of containing the html redirect text. btw: the tooltip of the setting indicates, that the redirect may involve 3rd party ressources (e.g. gravatar.com). But in my case it is just about a local redirect within the original domain (cdn.libravatar.org). Thank you for your time!
> No, indeed the setting was disabled (by default, I guess). Yes, that's default value. > After enabling the setting, the behavior changes slightly. Now the created file > below "~/.claws-mail/avatarcache/" is empty (zero bytes) instead of containing > the html redirect text. > > btw: the tooltip of the setting indicates, that the redirect may involve 3rd > party ressources (e.g. gravatar.com). But in my case it is just about a local > redirect within the original domain (cdn.libravatar.org). Yes, this depends on the missing icon mode you have selected. Notice that it may not work very well currently, you can read more here: https://lists.claws-mail.org/pipermail/devel/2020-May/002476.html You can try to open "claws-mail --debug" in a terminal and see which error is shown. Thanks!
Fixed in master¹ and gtk3² branches. ¹ 3fdfe990c6976d2e5b41b27655dc3c4da5bccb94 ² a0cd23ecbb4ea8b3bc76568b47e8e9451678a2cb