In comp.mail.misc, Computer Nerd Kev <not@telling.you.invalid> wrote:
I'm a bit confused about "mail" as far as remote server access
goes, and I've noted that writing a custom program or
script to send the few required IMAP commands directly
might not be all that difficult.
Looks very straight forward in IMAP.
https://tools.ietf.org/html/rfc3501
Look at the "EXAMINE" command.
To this end I've been trying to find a Linux command line
utility (preferably included with, or available in a package
for, OpenWrt) to simply return the number of unread emails
in a specified Email inbox.
I'm a bit confused about "mail" as far as remote server access
goes, and I've noted that writing a custom program or
script to send the few required IMAP commands directly
might not be all that difficult.
To this end I've been trying to find a Linux command line
utility (preferably included with, or available in a package
for, OpenWrt) to simply return the number of unread emails
in a specified Email inbox.
I'm looking at building a little display for my unread emails
and internet data usage, to be connected to my router running
the OpenWrt firmware. I want to determine the software options
before starting on the electronics.
To this end I've been trying to find a Linux command line
utility (preferably included with, or available in a package
for, OpenWrt) to simply return the number of unread emails
in a specified Email inbox. Even more ideal would be the
inclusion of some obscuration of the password used to access
the Email account (in other words to not have it stored in
plain-text on the router).
The Email server supports IMAP and POP. But I want to read
the emails directly from the server (not download them to the
router and access them locally), so I believe that IMAP
would be the preferred system for remotely accessing a
count of unread messages.
So far I've ruled out "nmh" due to apparant lack of IMAP
support (at least to the degree required here), I'm a
bit confused about "mail" as far as remote server access
goes, and I've noted that writing a custom program or
script to send the few required IMAP commands directly
might not be all that difficult.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 90:17:06 |
Calls: | 6,658 |
Files: | 12,203 |
Messages: | 5,334,090 |