From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 11 Aug 2011 09:34:54 -0700 Message-ID: From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] mail client; general question web vs command Topicbox-Message-UUID: 0eb59c1a-ead7-11e9-9d60-3106f5b1d025 Nice! Works for me too... But what about sending mail? I've only ever configured Plan 9 to act as its own smtp server, have never done anything with p9p or a remove server. John On Thu, Aug 11, 2011 at 5:20 AM, Fazlul Shahriar wrot= e: > I just tried -- it works fine with gmail. > > mailfs -t imap.gmail.com =A0 =A0# -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 =A0 Thu Aug 11 07:43:28 2011 -0400 > +++ b/src/cmd/upas/nfs/imap.c =A0 Thu Aug 11 08:12:24 2011 -0400 > @@ -756,8 +756,8 @@ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fd[2] =3D dup(2, -1); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tmp =3D esmprint("%s:993", server); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if(threadspawnl(fd, "tlsclient", "tlsclien= t", tmp, nil) < 0 > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && threadspawnl(fd, "/usr/sbin/stun= nel", "stunnel", "-c", "-r", > tmp, nil) < 0 > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && threadspawnl(fd, "/usr/bin/stunn= el", "stunnel", "-c", "-r", > tmp, nil) < 0){ > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && threadspawnl(fd, "/usr/sbin/stun= nel3", "stunnel", "-c", > "-r", tmp, nil) < 0 > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 && threadspawnl(fd, "/usr/bin/stunn= el3", "stunnel", "-c", "-r", > tmp, nil) < 0){ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0free(tmp); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0close(p[0]); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0close(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 >> >> > >