Re: POP problems with inc

2002-09-26 Thread Glenn Burkhardt

> I just compiled and installed without errors, but 'inc' is not working
> correctly.

For what it's worth, POP access in the most recent release 1.1-RC1 of nmh works
for me, with these two commands:

/usr/local/nmh/bin/inc -snoop +inbox -truncate -nochangecur -width 100 -host priam 
-user asdf
Password (priam:asdf): 
<--- +OK POP3 priam v2000.70mdk server ready
---> USER glenn
<--- +OK User name accepted, password please
---> PASS 
<--- +OK Mailbox open, 0 messages
---> STAT
<--- +OK 0 0
---> QUIT
<--- +OK Sayonara
inc: no mail to incorporate

echo password | /usr/local/nmh/bin/inc +inbox -truncate -nochangecur -width 
100 -host priam -user asdf

and with the values put into .netrc, too.

Server is Mandrake Linux 7.2, client system is Mandrake Linux 8.1.

I suggest you trace more verbosely on your server, and perhaps use the
debugger with 'inc'.







POP problems with inc

2002-09-26 Thread Mats Blomstrand

I just compiled and installed without errors, but 'inc' is not working
correctly.

Sample session:
bash$ /usr/local/nmh/bin/inc -user tmbl -snoop -host webaccess.gw.htu.se
<--- +OK GroupWise POP3 server ready
---> USER tmbl
<--- +OK
---> PASS 
<--- -ERR Login Failed
---> QUIT
<--- +OK GroupWise POP3 server signing off
-ERR Login Failed
inc: -ERR Login Failed

But doing the same thing manually works!

bash $ telnet webaccess.gw.htu.se 110
Trying 193.10.198.231...
Connected to webaccess.gw.htu.se.
Escape character is '^]'.
+OK GroupWise POP3 server ready
USER tmbl
+OK
PASS password 
+OK
QUIT
+OK GroupWise POP3 server signing off
Connection closed by foreign host.
 
( Redhat rpm does this thing right but doesnt honour smtp, probably
compiled with
'--with-mts=sendmail' so im stucked anyway )

I have tried to change '#define DBMPWD  1' to '#define DBMPWD  0' and
/* #define DBMPWD  1 */ in 'config.h' but it makes no difference.


What shall i do to get it work? (Please reply to: [EMAIL PROTECTED]
)
//Mats