From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 11 Aug 2011 08:20:05 -0400 Message-ID: From: Fazlul Shahriar To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] mail client; general question web vs command Topicbox-Message-UUID: 0e689e7e-ead7-11e9-9d60-3106f5b1d025 I just tried -- it works fine with gmail. mailfs -t imap.gmail.com # -t enable TLS It'll ask your for your username/password. Then start Mail in acme. mailfs will look for stunnel in your system. In my system, it found stunnel 4, which it doesn't know how to use. So, I had to point it to stunnel3: --- a/src/cmd/upas/nfs/imap.c Thu Aug 11 07:43:28 2011 -0400 +++ b/src/cmd/upas/nfs/imap.c Thu Aug 11 08:12:24 2011 -0400 @@ -756,8 +756,8 @@ fd[2] = dup(2, -1); tmp = esmprint("%s:993", server); if(threadspawnl(fd, "tlsclient", "tlsclient", tmp, nil) < 0 - && threadspawnl(fd, "/usr/sbin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0 - && threadspawnl(fd, "/usr/bin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0){ + && threadspawnl(fd, "/usr/sbin/stunnel3", "stunnel", "-c", "-r", tmp, nil) < 0 + && threadspawnl(fd, "/usr/bin/stunnel3", "stunnel", "-c", "-r", tmp, nil) < 0){ free(tmp); close(p[0]); close(p[1]); On Thu, Aug 11, 2011 at 6:42 AM, Rudolf Sykora wrote: >> Can anybody point me to some recipe which would get me from a point >> when I have p9p installed to a point when I can read mail from my >> gmail account via imap(s) in p9p acme? > > Well, that's a pity nobody can help.... :( > > Is there any reason for that man pages of p9p > http://swtch.com/plan9port/man/ > do not mention neither upas nor mail? > (So nobody actually uses it today?) > > Also, although some mail program is present, > /src/cmd/acme/mail > it is apparently not installed by default? > > [I'm tired of the web interface. I tried mutt, which was easy to set > up since you can find instructions for this. But I want the acme mail. > And there seem to be many things `somehow around', but not a coherent > explanation of how to put the pieces (and which) together...] > > Thanks > Ruda > >