From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f52.google.com ([209.85.210.52]) by ewsd; Thu Jul 23 04:22:52 EDT 2020 Received: by mail-ot1-f52.google.com with SMTP id c25so3767885otf.7 for <9front@9front.org>; Thu, 23 Jul 2020 01:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=GScj/5g/EpIuMaQwkPx4lOsW0ICDuBVdAgzKDsdwSTI=; b=KQqyjZiuYy+w/Ets1mILju29bxZjktzlxvwlNdPytLbzANYCX+24gw3qXrc+fayktX bMRqXevqmHYVqo8LcYn7JLc2VqauB2c0OOH4YcBDd9p2w6h8sxOJeaztgSekn2ysV7fq Tyi9uPtooUCpx9Ps6YbYosWAYHvClWwtxqeUZd1FEQA0V5pJs+ufwyKsBDdRexDFcOKi FH7C570rzOuWn4xO6i1d+L2ke7f3E108yU3QnRucaEELkLhC/X5BoqCVArZloQa20rEJ R9mr1T/6V+STehg3xEG5LVqcZ+ngjY73LI2dS5xuDL4JmzwpHAzaNf9/mw69HhnkisTY 7G9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=GScj/5g/EpIuMaQwkPx4lOsW0ICDuBVdAgzKDsdwSTI=; b=dFPoJAUTt0VBFKjjMLcifySo9foSgZR99B2Wk9ACZqGpbFRwr/qgVrZ7Dgsb2yGYpZ Ss7beOe8ZlpD85e3274TPU4IV7E9CaHuJFcgMYOJRx9kRrd0tBLYKz1ANVKdu2EQyFal 0JbUKBDvh/dSYuCDJMfz4bf3rBLprmvmUKKhLubGub0SNkn2vqcZpv8BccW9XHNgsrHZ 9tJGR6kNQOvgKKrQKTujOlnGtmtGsEgNSvOPt/dhzbrxRsfApvpZhVPNz+bMHCvqU9B2 gSqa68jRxv8sy20IrbuCCSb46cpWA1NX/T1CEepx1/recN8//0bcBsD8Jzi9s4Pcp223 eBaw== X-Gm-Message-State: AOAM532f4GbF5i1YUXxSRnhkFrzXbKP2rGXQXSFMQBuY+hG7C95fXRjH MsPU5xIEp6mXrLM3aIAwgzYlnya+l6c= X-Google-Smtp-Source: ABdhPJxtRknC9EOEUwpbg066SLTERP/FmmhIbtZkFPI3C1UlEeY3HRY2YuOE4NG7zf8mSlfpmkGs1A== X-Received: by 2002:a05:6830:1451:: with SMTP id w17mr3237861otp.250.1595492565985; Thu, 23 Jul 2020 01:22:45 -0700 (PDT) Return-Path: Received: from ?IPv6:2600:1700:8170:e391:cc45:170f:672f:4ad6? ([2600:1700:8170:e391:cc45:170f:672f:4ad6]) by smtp.gmail.com with ESMTPSA id x64sm538642oia.37.2020.07.23.01.22.45 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2020 01:22:45 -0700 (PDT) From: William Gunnells Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [9front] mail crazyness Date: Thu, 23 Jul 2020 01:22:40 -0700 References: <2319EA9E-9D14-41B8-AEAA-C079C8D40635@gmail.com> To: 9front@9front.org In-Reply-To: Message-Id: <61CA5BCD-5FB1-414A-B876-1F0D52E35891@gmail.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: responsive just-in-time storage cache Oh wow. That is interesting. Where is that documented. No no I... will = read rio. > On Jul 23, 2020, at 1:15 AM, hiro <23hiro@gmail.com> wrote: >=20 > he is right though that there are some really stupid defaults: like > that it's hard to just open a few rio windows sharing a namespace, > unless you're fine using a subrio (but i hate such deep hierarchies > being imposed on me). >=20 > hopefully some time we can change this. >=20 > william: subrio means running rio inside rio. and this is relevant, > because if you mount something and THEN start rio, all rio windows > will see that mount. >=20 > On 7/23/20, sirjofri+ml-9front@sirjofri.de > wrote: >> Hello, >>=20 >> that's why I used half a year reading all documentation I could find = on plan >> 9. You need a solid understanding of how things work. >>=20 >> Factotum for example. You need factotum, even if you don't want to = store >> your passwords. Every software uses factotum for authentication. >>=20 >> Upas is nice and opens the default mailbox with your -f parameter. = It's >> important to understand what upas as a filesystem is and read the man = page >> to learn more about it. >>=20 >> Obviously, read the man pages. Start by typing: >>=20 >> man factotum >> man upasfs >>=20 >> And read what's there. Also read the fqa. Read the important = sections. >>=20 >> I know plan9 is frustrating if you are a beginner, it's good to = forget >> everything you know from other systems, including unix. Start at zero = and be >> a learner. >>=20 >> I hope this is constructive and helpful. >>=20 >> Have fun >>=20 >> sirjofri >>=20 >> 23.07.2020 11:56:33 William Gunnells : >>> I have never had such a hard time getting something that should be = so >>> simple to work >>>=20 >>> It seems like I type out the same commands over and over again and = gamble >>> at what needs to be done. >>>=20 >>> 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 >>>=20 >>> Typing in the same commands over and over is simply silly. Nothing = seems >>> to stick >>>=20 >>> I actually got the mail to work only for the container to = accidentally get >>> rebooted because of other issues >>> and the fact I really didn=E2=80=99t understand persistence >>>=20 >>> To actually check mail I have to type the following >>>=20 >>> auth/factotum. By the way this is either in the profile or cpurc. = Not sure >>> why I have to do that. Seems silly. >>>=20 >>> echo =E2=80=98key proto=3Dpass server=3Dimap.gmail.com service=3Dimap >>> user=3Dthinktankworkspaces !password=3Dwhaterver=E2=80=99>/mnt/factotu= m/ctl >>>=20 >>> then run >>> upas/fs -f /imaps/imap.gmail.com/thinktankworkspaces@gmail.com >>>=20 >>> Even after I get this far I=E2=80=99m still not to sure I did things = right. A >>> prompt does ask me to enter the password. >>>=20 >>> It seems like /mnt/factotum/ctl has two entries, one with full = email >>> including the @ symbol and one without the @ symbol. Seems kind of >>> redundant. Why run the echo statement in the first place. >>>=20 >>> But no. I=E2=80=99m not done yet >>>=20 >>> i need to mount this file or open this file >>> echo open /imaps/imap.gmail.com/thinktankworkspaces mbox = >/mail/fs/ctl >>> Still not sure if I need the @ symbol or not. But guess what I get = an >>> error permission denied or its busy or whatever >>>=20 >>> I have to run upas/fs -n >>>=20 >>> Honestly not even sure about the order of this verses -f anymore. = Seems >>> like -n doesn=E2=80=99t interfere with file or something like that = according to >>> the man page. >>>=20 >>> But it seems to be the only way to mount that file or whatever. >>>=20 >>> 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. 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 myself 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 work before the = crash. Oh and I >>> won=E2=80=99t bore you with the details of doing this twice on two = draw screens >>> because i wanted to test =E2=80=98faces=E2=80=99. Lot's of copy and = paste. >>>=20 >>> I suspect it has something to do with rewrite. I made the mistake of >>> deleting 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'. >>>=20 >>> 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. >>>=20 >>> I thought perhaps because I deleted and re-created it, if you look = closely >>> its owned by Glenda >>> =E2=80=94=E2=80=94rw-rw-r-- M 24 glenda upas 1154 Jul 23 06:40 = rewrite >>>=20 >>> Plan9 does not have chown, and chgrp does not work something about = stats. >>>=20 >>> while I have the correct imap in /mnt/factotum/ctl I also made sure = I had >>> the correct smtp in /mnt/factotum/ctl >>>=20 >>> 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. >>> Perhaps this is a wrapper for for upas. Seems logical >>>=20 >>> I have the correct sender, address and gmail statements as listed in = the >>> documentation. >>>=20 >>> i believe I have the x509 files created for both /sys/lib/tls/mail = and >>> /sys/lib/tls/smtp >>>=20 >>> Why honestly is this so difficult. I believe this to be a huge = problem. >>> There is no step by step instructions that say. >>>=20 >>> 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 the = first >>> place. They can be in there and commented out. And HONESTLY. How do = I know >>> this profile is really working. >>>=20 >>> The profile already had the following to begin with. >>>=20 >>> webfs >>> plumber >>> upas/fs -n >>> rio -i riostart >>>=20 >>> I still have to type this when I drawterm from another OS. So I = don=E2=80=99t see >>> the point. >>>=20 >>> If I boot to CPU/Auth and want yo run rio from the terminal its an = even >>> greater nightmare. But no big deal >>> I did figure it out >>>=20 >>> 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 >>> with that >>> #####and I need >>> bind -a =E2=80=98#i=E2=80=99 /dev >>> ####then >>> exec rio -i riostart >>>=20 >>> Now I have a GUI that comes up after reboot as cpu/auth >>>=20 >>> I swear auth/keyfs and auth/factotum were mounted or started in that = cpurc >>> file >>>=20 >>> For the love of God why do I have to type it in again. >>>=20 >>> Why when I drawterm from another OS it doesn=E2=80=99t seem to = really make a >>> difference and I have to type auth/keyfs or auth/factotum or = whatever. >>>=20 >>> 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 >>> such and such time. But no mail was actually sent. OMG >>>=20 >>> 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. = There >>> should be a way to pull in or merge from existing /factotucm/ctl >>>=20 >>> Clarity would be nice >>>=20 >>> Damn. I hate asking for Pink Ponies. >>>=20 >>=20 >>=20