From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f43.google.com ([209.85.210.43]) by ewsd; Thu Jul 23 04:18:49 EDT 2020 Received: by mail-ot1-f43.google.com with SMTP id d4so3784734otk.2 for <9front@9front.org>; Thu, 23 Jul 2020 01:18:44 -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=mEMb2BHFh3UxJdxoq8TtR7+z8yL8CtT2BzIKBMqG+EA=; b=ivvcvHUdeBd/oEBNUWz0cksyiYasA0OmdqBp46ebYEEh/c/QgwukFdQmZlzo/hBuG8 AeqTWzCNbE53+MobgquUk0K6k428Vec8xuaD5i/aFa+1l9zVFJ2CON3ujaDCX3qFZCCZ tYZURWaKBuFebarxK9eMb/UeDlpUUNfg0CirKPtm9upoFM0wQI51dGtv7jf6+hkYuWf9 oMUmnYVhB6Evo35OIvT92rAAMpbe7ACVNu/k/1IqCBMMdaay3JwNwd4CK7Ufsd8/UAjr 7guknwy32IdcDp3JpAHNKrULYbSIaQxvfeLOA1x4MFxay2hSdqur0qNJU2JkhmTyEkG/ eBuw== 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=mEMb2BHFh3UxJdxoq8TtR7+z8yL8CtT2BzIKBMqG+EA=; b=GKPzbET6UFe9SQouVNFKvE/6SSuJjIA28XsRWdRmW+hA96/TeEL6lBp1RyaWtcZq9L tcz/2nNoa97VcbO5ykOJ3j3togV/86LLsdEb1nd3NK+LTFmmzFIVsUv8CaJXwxOmi+eM ue1EnTZ/HjGKhXEFpWszUMou9/hzyfVJs1y148YvWyfH/8mMPtU3zi5nEVopZNDlfnkd DC8Bog9tgHB7CFQTZRfKXRVz4DndLgwUbnwlqPgMrXoKANjHQaCEOrJbXRzTyNy3+W/K k01ceRZLuq9dSrRhfWgaytQN9Ajfkm3u6ThcDcOS60MK865lVkpAnvmeuzH3rF3kCmfX /3Gg== X-Gm-Message-State: AOAM532uYllZrpHgy+9r9xdzwtC33hVrv2FfRa6wVpQYEkeb6FBItmTt Nv/MkeUq1CnyTsZt+lK6VUjQft3EgsI= X-Google-Smtp-Source: ABdhPJwpRhyrM5dnlXxCe2Xjqdv2Vyq4Prca/JkJnwl/ALrNMlomkDVlN7cun4Mpw+Vuizl6nMocfA== X-Received: by 2002:a05:6830:1d9:: with SMTP id r25mr3330675ota.310.1595492323964; Thu, 23 Jul 2020 01:18:43 -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 c16sm511115otn.12.2020.07.23.01.18.43 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2020 01:18:43 -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:18:40 -0700 References: <2319EA9E-9D14-41B8-AEAA-C079C8D40635@gmail.com> To: 9front@9front.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3608.80.23.2.2) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: self-healing virtual dependency enhancement Oh i know and I have read. Just when I think I know I don=E2=80=99t. = Kind of wish I knew someone close by. But sadly I don=E2=80=99t. Just to = see how they use it. Because I know I'm not using it right. Not giving = up just discouraged. There is something about this. > On Jul 23, 2020, at 1:08 AM, sirjofri+ml-9front@sirjofri.de wrote: >=20 > 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/factotum/ct= l >>=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=99= t 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