Windows 2000 CLI Email Clients?
man_ls asks: "I am running a TELNET server for myself and some friends out of my house using Windows 2000 Telnet Services, and would like to provide them with the ability to send and receive e-mails through the command line. I'm currently using fmail unregistered, which has send-only ability, and tried PC-PINE but it wouldn't run on the command line. Does anyone know of a command line mail program that will run under Windows 2000, and can both send and receive e-mail messages?" And we all know how popular usable Such a program would be a cool thing indeed! Are there such beasts, or has the rather un-popularity of CLI apps under Win32 rendered such things obsolete?
Your highness, Sir Post the First is here!
Cygwin. Great stuff. allows you to run a great deal of GNU and other software on win32. :-)
No one ever says, 'I can't read that ASCII E-mail you sent me.'
If you're running IIS5's SMTP server, you can use CDO for Win2K from JScript or VBScript to send messages. CDO is a set of COM objects that wrap around MIME-compliant messages, so you can build or parse email messages.
If you don't have IIS SMTP, there are a number of SMTP client COM objects around; you can then write a JScript/VBScript/VB/C++ app that drives the COM object.
You also might want to look into something called blat -- it's another SMTP client implementation (not COM-based, IIRC).
If Cygwin doesn't run under telnet, you might be able to run a telnet server under Cygwin. Same result.
Here's a useful page that covers Pine, Cygwin, and other related topics.
you need to set your terminal type to ANSI and then it will work fine.
i cant rememeber the command but a windows junkie put me in my place last week when i said how much windows telnet sucked rocks and he was using pine in no time.
If you can you should use SSH instead, i strongly recommmend Putty (search google and its the first page).
MS telnet still sucks rocks
And there is no need to run it - Cygwin comes with an ssh daemon. It's fairly easy to set up, just run ssh-host-config. You can run it as a Win2K service if you want. Also, as I'm sure many others will mention, Cygwin includes the coolest text-mode email client, mutt. It's hightly configurable, with colors and split panes and whatnot.
The real problem you may have is that confronted with a command line interface, many windows users get confused. I used to work in tech support and people were always trying to use the mouse on apps that were running in a command shell. Needless to say this caused a lot of frustration.
Openxp (openxp.com) is working as a windows native console newsreader/email/fido.
It is open source, 32bit and doesn't need unix emulation (cygwin) libraries
vi /usr/mail/ratbert
read: it will take people an extra week or two to crack my system, putting my system into a state that I can not rely upon, and that can cause other people lots of annoyance through DDoS clients.
It is unneighborly to leave your system open, because it lets people launch attacks from it. You do not need to check your email so often that you can't skip the airport terminals' telnet program.
There is a cost associated with sticking a computer on the Internet, whether you are being paid to do so or not. Basic security is not optional, it is part of that cost. There are solutions by which you can use ssh (java ssh clients, cd-rs of ssh clients for popular operating systems, etc.).
You'll have to do some work, so consider it part of increasing your knowledge about the system - knowledge of what you'll have to do any time you put a server on the Internet.
And Windows users wonder what it is that gives them a bad name...
--Matthew
Nicely Put.
I especially liked how he said he doesn't have anything senstive and only a handful of admin accounts. Imagine that. Its people like him that allowed Code Red to fill my apache logs.