From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from oat.nine.sirjofri.de ([5.45.105.127]) by ewsd; Thu Jul 23 04:09:14 EDT 2020 Received: from sirjofri.de ([93.193.240.206]) by oat; Thu Jul 23 10:08:12 CES 2020 Date: Thu, 23 Jul 2020 08:08:57 +0000 (UTC) From: sirjofri+ml-9front@sirjofri.de To: William Gunnells <9front@9front.org> Message-ID: In-Reply-To: <2319EA9E-9D14-41B8-AEAA-C079C8D40635@gmail.com> References: <2319EA9E-9D14-41B8-AEAA-C079C8D40635@gmail.com> Subject: Re: [9front] mail crazyness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: markup hosting-oriented API Hello, that's why I used half a year reading all documentation I could find on pla= n 9. You need a solid understanding of how things work. Factotum for example. You need factotum, even if you don't want to store yo= ur passwords. Every software uses factotum for authentication. Upas is nice and opens the default mailbox with your -f parameter. It's imp= ortant to understand what upas as a filesystem is and read the man page to = learn more about it. Obviously, read the man pages. Start by typing: man factotum man upasfs And read what's there. Also read the fqa. Read the important sections. I know plan9 is frustrating if you are a beginner, it's good to forget ever= ything you know from other systems, including unix. Start at zero and be a = learner. I hope this is constructive and helpful. Have fun sirjofri 23.07.2020 11:56:33 William Gunnells : > I have never had such a hard time getting something that should be so sim= ple to work > > It seems like I type out the same commands over and over again and gamble= at what needs to be done. > > This a huge amount of confusion. If I boot the system into cpu/auth mode = I seem to get further. But honestly I don=E2=80=99t believe it. I know that= wherever or however I log in I am glenda > > Typing in the same commands over and over is simply silly. Nothing seems = to stick > > I actually got the mail to work only for the container to accidentally ge= t rebooted because of other issues > and the fact I really didn=E2=80=99t understand persistence > > To actually check mail I have to type the following > > auth/factotum. By the way this is either in the profile or cpurc. Not sur= e why I have to do that. Seems silly. > > echo =E2=80=98key proto=3Dpass server=3Dimap.gmail.com service=3Dimap use= r=3Dthinktankworkspaces !password=3Dwhaterver=E2=80=99>/mnt/factotum/ctl > > then run > upas/fs -f /imaps/imap.gmail.com/thinktankworkspaces@gmail.com > > Even after I get this far I=E2=80=99m still not to sure I did things righ= t. A prompt does ask me to enter the password. > > It seems like /mnt/factotum/ctl has two entries,=C2=A0 one with full emai= l including the @ symbol and one without the @ symbol. Seems kind of redund= ant. Why run the echo statement in the first place. > > But no. I=E2=80=99m not done yet > > i need to mount this file or open this file > echo open /imaps/imap.gmail.com/thinktankworkspaces mbox >/mail/fs/ctl St= ill not sure if I need the @ symbol or not. But guess what I get an error p= ermission denied or its busy or whatever > > I have to run upas/fs -n > > Honestly not even sure about the order of this verses -f anymore. Seems l= ike -n doesn=E2=80=99t interfere with file or something like that according= to the man page. > > But it seems to be the only way to mount that file or whatever. > > And I have to do that on the same screen, same namespace, because I can= =E2=80=99t draw another screen. I already did too much work to get this far= .=C2=A0 I can run acme and enter =E2=80=98Mail=E2=80=99 somewhere/anywhere = then click it and things seem to work. But I can only send email from mysel= f to myself using my gmail.com account. I can=E2=80=99t send it to another = person or another email account. I can=E2=80=99t figure out why. It did wor= k before the crash. Oh and I won=E2=80=99t bore you with the details of doi= ng this twice on two draw screens because i wanted to test =E2=80=98faces= =E2=80=99. Lot's of copy and paste. > > I suspect it has something to do with rewrite. I made the mistake of dele= ting it. But since the original file had very little anyways. I didn=E2=80= =99t think it was a big deal to delete it and 'cp rewrite.gateway rewrite'. > > Then change the domain to \1@gmail.com. But while it worked before. It no= longer works now. I can=E2=80=99t send mail. > > I thought perhaps because I deleted and re-created it, if you look closel= y its owned by Glenda > =E2=80=94=E2=80=94rw-rw-r-- M 24 glenda upas 1154 Jul 23 06:40 rewrite > > Plan9 does not have chown, and chgrp does not work something about stats. > > while I have the correct imap in /mnt/factotum/ctl I also made sure I had= the correct smtp in /mnt/factotum/ctl > > Still now sure what /mail/lib/remotemail is supposed to do. I have run it= before to see what it does. It does make a connection without errors. Perh= aps this is a wrapper for for upas. Seems logical > > I have the correct sender, address and gmail statements as listed in the = documentation. > > i believe I have the x509 files created for both /sys/lib/tls/mail and /s= ys/lib/tls/smtp > > Why honestly is this so difficult. I believe this to be a huge problem. T= here is no step by step instructions that say. > > Wait!!!! Don=E2=80=99t change screens, because you will be in a different= namespace. Oh wait please remember this doesn=E2=80=99t persists. Oh wait = you kind of want things in a profile. Why are they not in the profile in th= e first place. They can be in there and commented out. And HONESTLY. How do= I know this profile is really working. > > The profile already had the following to begin with. > > webfs > plumber > upas/fs -n > rio -i riostart > > I still have to type this when I drawterm from another OS. So I don=E2=80= =99t see the point. > > If I boot to CPU/Auth and want yo run rio from the terminal its an even g= reater nightmare. But no big deal > I did figure it out > > I need to have > mouseport=3Dps2 > vgasize=3D1024x768x16 > aux/mouse $mouseport > fork; aux/realemu; aux/vga -m visa -l $vgasize # wow really who came up w= ith that > #####and I need > bind -a =E2=80=98#i=E2=80=99 /dev > ####then > exec rio -i riostart > > Now I have a GUI that comes up after reboot as cpu/auth > > I swear auth/keyfs and auth/factotum were mounted or started in that cpur= c file > > For the love of God why do I have to type it in again. > > Why when I drawterm from another OS it doesn=E2=80=99t seem to really mak= e a difference and I have to type auth/keyfs or auth/factotum or whatever. > > I do check log files. Sometimes they are helpful. Like incorrect this or = incorrect that but then sometimes it reads a tls message has been sent at s= uch and such time. But no mail was actually sent. OMG > > Lastly I=E2=80=99m super confused on persisting. It seems wasteful to run= the commands in some mounted area and re-echo the same commands again. The= re should be a way to pull in or merge from existing /factotucm/ctl > > Clarity would be nice > > Damn. I hate asking for Pink Ponies. >