Discussion:
[9fans] Acme/Mail with plan9ports in Mac OS
(too old to reply)
Rubén Berenguel
2013-03-09 19:10:07 UTC
Permalink
Hi everyone,

I'm trying (just for the sake of getting it to work!) to read my (imap)
mail via acme from plan9ports. I got the mail file server started in my
namespace (I can 9p ls mail and see my folders in INBOX for my work
account, but I can't get gmail to work... Probably needs TLS support and if
I understood correctly, plan9port does not have TLS yet.)

Problem is, if I middle-click on Mail in the main tag in Acme, I am greeted
by:

Mail: exit 1
No mail for ruben

ruben is my local user name, which is different from my imap login name.
Looks like Mail is executing the "mail" command instead of using Acme/Mail.
How can I get Acme/Mail to understand where to fetch mail? I thought it
would be automatic, getting it via the mail file server but looks like it
doesn't. Oh, I have the plumber (and factotum) also running, both seem to
be working correctly (at least I can plumb things and they work.)

Any suggestions?

Thanks,

Ruben Berenguel
John Floren
2013-03-09 19:22:02 UTC
Permalink
This is just a guess, but what does your $PATH look like?
Post by Rubén Berenguel
Hi everyone,
I'm trying (just for the sake of getting it to work!) to read my (imap) mail
via acme from plan9ports. I got the mail file server started in my namespace
(I can 9p ls mail and see my folders in INBOX for my work account, but I
can't get gmail to work... Probably needs TLS support and if I understood
correctly, plan9port does not have TLS yet.)
Problem is, if I middle-click on Mail in the main tag in Acme, I am greeted
Mail: exit 1
No mail for ruben
ruben is my local user name, which is different from my imap login name.
Looks like Mail is executing the "mail" command instead of using Acme/Mail.
How can I get Acme/Mail to understand where to fetch mail? I thought it
would be automatic, getting it via the mail file server but looks like it
doesn't. Oh, I have the plumber (and factotum) also running, both seem to be
working correctly (at least I can plumb things and they work.)
Any suggestions?
Thanks,
Ruben Berenguel
Alexander Sychev
2013-03-20 08:56:42 UTC
Permalink
Hi,
Post by Rubén Berenguel
Hi everyone,
I'm trying (just for the sake of getting it to work!) to read my (imap) mail
via acme from plan9ports. I got the mail file server started in my namespace
(I can 9p ls mail and see my folders in INBOX for my work account, but I
can't get gmail to work... Probably needs TLS support and if I understood
correctly, plan9port does not have TLS yet.)
TLS is supported in plan9port's mailfs via stunnel, but it is quite
old version of stunnel - 3.x (I have stunnel 3.26). You should just
specify a flag -t for mailfs. It exellent works with gmail for me.
Post by Rubén Berenguel
Problem is, if I middle-click on Mail in the main tag in Acme, I am greeted
Mail: exit 1
No mail for ruben
I'm sure your 'Mail' is not plan9port's Mail.
Type 'type Mail' and you will find something like 'Mail is /usr/bin/Mail'
You should set a path to plan9port binares before $PATH or start Mail
via '9 Mail'
--
Best regards,
santucco
Steve McCoy
2013-03-20 15:42:14 UTC
Permalink
Post by Alexander Sychev
I'm sure your 'Mail' is not plan9port's Mail.
Type 'type Mail' and you will find something like 'Mail is /usr/bin/Mail'
You should set a path to plan9port binares before $PATH or start Mail
via '9 Mail'
This is the way to go. The filesystem on OSX is case-insensitive. What Rubén saw as /usr/bin/Mail and /usr/bin/mail are the same file.
Followup-To:
Distribution:
Organization: University of Bath, Bath, BA2 7AY, UK
Keywords:
Cc:
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
***@bath.ac.uk
Steve McCoy
2013-03-20 17:52:42 UTC
Permalink
On Wednesday, March 20, 2013 11:42:14 AM UTC-4, Steve McCoy wrote:


I don't know who that Dennis guy is, or why his info got added to my email. Could this be a side effect of using Google groups to reply?

[ Moderators note:

Apologies. The comp.os.plan9 is a moderated Newsgroup and
articles need to be approved before being posted. As moderator I
forgot to remove my details before doing this in this case. It
has nothing to do with Google groups. I must try harder :-( ]
Rubén Berenguel
2013-03-20 18:13:03 UTC
Permalink
:) mail groups have these fun side effects. Although I controlled my
/bin/Mail spurious program, the problem is I still can't get anything from
my gmail account:

mailfs -t imap.gmail.com
mailfs: imapconnect: Unknown error: 0

Since it is an unknown error, I can't really tell what may be going on.
Factotum is running supposedly with the correct credentials, the password
for it is correct, just in case I installed stunnel, and I have IMAP
activated in my gmail account. Out of ideas, will try again in the future.

Thanks everyone ;)

Ruben
Post by Steve McCoy
…
I don't know who that Dennis guy is, or why his info got added to my
email. Could this be a side effect of using Google groups to reply?
Apologies. The comp.os.plan9 is a moderated Newsgroup and
articles need to be approved before being posted. As moderator I
forgot to remove my details before doing this in this case. It
has nothing to do with Google groups. I must try harder :-( ]
Continue reading on narkive:
Search results for '[9fans] Acme/Mail with plan9ports in Mac OS' (Questions and Answers)
39
replies
I picked a word, guess it correct for 10!?
started 2006-09-05 14:47:44 UTC
jokes & riddles
Loading...