Hi Manoj, If I don't pass the password as parameters to popcheck in my script than it prompts me for the password and once I enter the password ( which is visible on the screen ) it works fine. My script mailcheck is as follows : popcheck -s goa1.dot.net.in -u "rfowkar" -o mail_list Nice program to just download the headers and delete unwanted mail. I will check out with your suggestions. Thanks a lot. Rajesh On Thu, 27 Jan 2000, you wrote: > Hello Rajesh, > > I really don't have an explanation for this. I mean, there could be any > number of reasons; this is not a common problem I could not reproduce > the problem. Anyway, try changing you password. The POP3 server could be > broken, and it may be refusing some characters for password, that the > underlying OS supports, and which you use. > > Is there a program called script installed on your system? It is very > useful to get what you type on the screen to a file. Like in this case, > you can start script, and inside script, have a telnet session. > > BTW, I assume you know to talk directly with a POP3 server. If not, > learn it. It is fun, easy and very useful. I implemented a POP3 server > as part of our college mini-project. The RFC's are FMs (FM as in RTFM > ;-) That's how I learnt it. > > > Here is a sample POP3 session... > > $ telnet mvm.mvmsoft 110 > +OK QPOP (version 2.3) at mvm.mvmsoft starting. <[EMAIL PROTECTED]> > USER mvm > +OK Password required for mvm. > PASS somepass > +OK mvm has 0 messages (0 octets). > QUIT > +OK Pop server at mvm.mvmsoft signing off. > Connection closed by foreign host. > > > Try a similar session with goa1.dot.net.in to port 110. Try giving USER > and PASS. After each command the POP3 server either responds positively > with a +OK or negatively with a -ERR. If you can log in this way, then > the problem lies with popcheck. > > > > The program called script can capture all these keystrokes into a file > (name typescript by default). But be aware that all keystrokes including > backspace is captured. Exit script using Ctrl-D or exit. > > > On Tue, Jan 25, 2000 at 01:09:21AM +0530, Rajesh Fowkar wrote: > > Hi Manoj, > > > > I compiled popcheck and copied the binary to /usr/local/bin > > and created a script mailcheck which contains the following : > > > > popcheck -s goa1.dot.net.in -u "rfowkar" -p "<password>" -o > > mail_list > > > > note : Since password contains special characters I have enclosed it > > into quotes. > > > > Running mailcheck gives me the following errorr : > > > > >-------------------------------------------------------------------------------------------------------------------------- > > [rajesh@rajesh] ~$ mailcheck > > Sending logon information > > Bad PASS command responce: -ERR Password supplied for "rfowkar" is incorrect. > > > > Bad QUIT command responce: -ERR Password supplied for "rfowkar" is incorrect. > > > > Disconnected from POP Host > > [rajesh@rajesh] ~$ > > >-------------------------------------------------------------------------------------------------------------------------- > > > > What is wrong here ? > > -- Rajesh(ALIAS Shriram) -------------------------------------------------------------------------------- How I Configured my SiS6215 Card ?Visit:http://rajesh.computers.webjump.com/linux.html Web Site : http://rajesh.computers.webjump.com/ Email : [EMAIL PROTECTED] Hold fast to dreams, for if dreams die, life is a broken bird that cannot fly. Langston Hughes --------------------------------------------------------------------------------- -------------------------------------------------------------------- The Linux India Mailing List Archives are now available. Please search the archive at http://lists.linux-india.org/ before posting your question to avoid repetition and save bandwidth.
