using mtest to understand c-client

2004-12-06 Thread Andrew Biggs
I'm just getting started using c-client, and was
trying to use mtest to talk to an IMAP server on
another box.  Looking at the code, it's not real clear
to me how to specify the remote address, username,
password, etc.  I didn't see any readme's, FAQ's, or
howto's specifically related to this.  I have been
looking at the API guide for c-client, which is good,
but I haven't seen where it covers login. Any
suggestions, or pointers to docs I could look at? 

Thanks!

-- 
--
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/c-client-list.html
--


Re: using mtest to understand c-client

2004-12-06 Thread Tomas Pospisek's Mailing Lists
On Mon, 6 Dec 2004, Andrew Biggs wrote:
I'm just getting started using c-client, and was
trying to use mtest to talk to an IMAP server on
another box.  Looking at the code, it's not real clear
to me how to specify the remote address, username,
password, etc.  I didn't see any readme's, FAQ's, or
howto's specifically related to this.  I have been
looking at the API guide for c-client, which is good,
but I haven't seen where it covers login. Any
suggestions, or pointers to docs I could look at?
You can go to mailsync.sf.net, click through to the sourceforge interface, 
there to the webcvs and look into the examples directory. The c-client 
docu gives you the precise syntax.
*t

--
---
  Tomas Pospisek
  http://sourcepole.com -  Linux  Open Source Solutions
---


c-client on Solaris 10 SPARC

2004-12-06 Thread Jim
Has anyone yet been able to compile c-client or imap-2004a on Solaris 10
SPARC ?
on a 'make gso' I keep encountering
 osdep.h:64 error: conflicting types for `scandir'
/usr/include/dirent.h:92 error: previous decleration of `scandir'
***Error code 1
make: Fatal error: Command failed for target `osdep.o'

not being a coder in any sense of the word I'm at a loss to sort this one so
any pointers would be appreciated

Thanks
Jim
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004

-- 
--
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/c-client-list.html
--


RE: c-client on Solaris 10 SPARC

2004-12-06 Thread Jim
Just to confirm, that gives me a clean build with no problems I just have to
sort SSL out and rebuild
Thanks very much Mark

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Crispin
Sent: 06 December 2004 17:33
To: Jim
Cc: [EMAIL PROTECTED]
Subject: Re: c-client on Solaris 10 SPARC


On Mon, 6 Dec 2004, Jim wrote:
 Has anyone yet been able to compile c-client or imap-2004a on Solaris 10
 SPARC ?

It's fixed in the imap-2004b development snapshot.
ftp://ftp.cac.washington.edu/mail/imap-2004b.DEV.tar.Z

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004



smtp-issues

2004-12-06 Thread Jochen Garcke
Hi,
the two routines
void smtp_debug (SMTPSTREAM *stream);
void smtp_nodebug (SMTPSTREAM *stream);
which are mentioned in the docs and are prototyped in smtp.h are not 
declared in smtp.c or anywhere else as far as I can see. (using imap-2004a)

I guess they do not much more then setting debug on/off for the stream.
Another thing, in pine there exist options like
disable-these-authenticators
to overcome problems with certain smtp-servers.
I have similiar issues which one smtp-server where the CRAM-MD5 
authentication doesn't work for me, but the Login over a SSL-connection 
works.

But the CRAM-MD5 gets tried first, so I always get asked the password.
Can I somehow disable the CRAM-MD5 authentication for a SMTP-Stream 
using c-client (like pine does) ?

Thanks,
  Jochen
--
--
For information about this mailing list, and its archives, see: 
http://www.washington.edu/imap/c-client-list.html
--


Re: smtp-issues

2004-12-06 Thread Mark Crispin
On Tue, 7 Dec 2004, Jochen Garcke wrote:
void smtp_debug (SMTPSTREAM *stream);
void smtp_nodebug (SMTPSTREAM *stream);
which are mentioned in the docs and are prototyped in smtp.h are not declared 
in smtp.c or anywhere else as far as I can see. (using imap-2004a)
You are correct; this was never implemented as it was decided not to do 
debugging this way.

Can I somehow disable the CRAM-MD5 authentication for a SMTP-Stream using 
c-client (like pine does) ?
It's the DISABLE_AUTHENTICATOR function of mail_parameters(), e.g.
mail_parameters (NIL,DISABLE_AUTHENTICATOR,(void *) CRAM-MD5);
Note that this is a global setting.  You should only use this as a 
workaround, and instead convince the manager of the SMTP server to fix 
their server.

-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.