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 <fshahr...@gmail.com> wrote:
> 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 <rudolf.syk...@gmail.com> 
> 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
>>
>>
>
>

Reply via email to