Score:3

Cannot get email notifications in conky

ae flag

In my .conkyrc I want to be shown the number of emails on my provider's POP3 server. Something like this

${pop3_unseen myserver myemail mypasswd -i 600 -p 995 -r 5}

only returns '0' as output, although there are always some. I have the variable from the conky objects list

https://conky.sourceforge.net/variables.html

How do I troubleshoot this?

Edit:

It's a German provider (posteo.de).

I have installed fetchmail on my system now (Linux Mint 21 LTS Vanessa) and tried your proposal with the verbose option. It seems to work, since it returns a status output in the form of a number (zero by now). I will try again later and see if the number increases, and I will also play around with some other options maybe. And it even shows the total of messages on the server - exactly what I was after. It's just a bit long,


1553 Nachrichten für habae@posteo.de bei posteo.de (113599479 octets)

but I might be able to prune the first couple of characters and numbers with 'head' or so for my conky window.

codlord avatar
ru flag
What email provider is it? A lot of email services now won't allow basic password authentication like this. Some allow workarounds like generating individual app passwords, some may not. But I would use another tool like `fetchmail` on the command line to check that you can connect with your details. Something like `fetchmail -c -p POP3 -u myemail myserver` The -c option should return a status code to indicate if email is waiting or not without fetching anything.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.