9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9 as an imaps server
@ 2007-05-29  6:48 ron minnich
  2007-05-29  7:01 ` Skip Tavakkolian
  2007-05-29  7:38 ` Steve Simon
  0 siblings, 2 replies; 6+ messages in thread
From: ron minnich @ 2007-05-29  6:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I am certain that others have done this, the wiki says they have.
Although, I do plan to update the wiki once I understand this. SO is
claiming it is time to throw in the towel and just buy a Mac as a mail
server. Shudder.

After I boot I have this:

cpu% cat /mnt/factotum/ctl

So, the ctl is empty. OK, let's add the secstore bits for the key:
cpu% auth/secstore -n -G factotum > /mnt/factotum/ctl
auth/secstore: error: account expired

Ah, well. I am telling it to use the nvram key, but something is still
expired. Um, what
account? It's not all that clear, I'll do a pull and see if it gets
better. Anyway:
cpu% slay secstored | rc
cpu% cd
cpu% cd auth/secstore/
cpu% ./8.secstored  # my hacked secstored

Let's try that again.
cpu% auth/secstore -n -G factotum > /mnt/factotum/ctl
account expired at Mon May 28 19:25:22 EDT 2007
, current time is Mon May 28 19:25:22 EDT 2007
; not that we care
cpu% cat /mnt/factotum/ctl
key proto=rsa size=1024 ek=10001 etc. etc. etc. service=tls
role=client etc. etc.

now I tried to get in and it still failed. I have to do this:

cpu% slay listen | rc
cpu% aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp

Boy, that seems wrong to me!

At this point, from the mac, I am getting a password prompt.

tlssrv reports this much:
roo May 28 19:31:07 76.103.89.146!62785 tls reports recv HClientKeyExchange
	etc. etc.

roo May 28 19:31:07 76.103.89.146!62785 tls reports tls secrets

roo May 28 19:31:07 76.103.89.146!62785 tls reports recv HFinished

roo May 28 19:31:07 76.103.89.146!62785 tls reports send HFinished

roo May 28 19:31:07 76.103.89.146!62785 tls reports tls finished

roo May 28 19:31:07 76.103.89.146!62785 tls reports open

: imap4d debugging enabled
* OK roo.hsd1.ca.comcast.net. IMAP4rev1 server ready



i.e. we're getting the nice socket, and imap4d is starting up. It does
not much like my password. not sure why ... but will look more and let
you all know.

thanks

ron


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-29 16:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-29  6:48 [9fans] plan9 as an imaps server ron minnich
2007-05-29  7:01 ` Skip Tavakkolian
2007-05-29  7:38 ` Steve Simon
2007-05-29 16:04   ` ron minnich
2007-05-29 16:10     ` erik quanstrom
2007-05-29 16:14       ` ron minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).