From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10705290904v65b9eaf9ved756f75c74d5b2e@mail.gmail.com> Date: Tue, 29 May 2007 09:04:53 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] plan9 as an imaps server In-Reply-To: <79a2c0f525af81144e0304aafb4a1412@quintile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13426df10705282348y7f7a0f72o9800ec872c05d755@mail.gmail.com> <79a2c0f525af81144e0304aafb4a1412@quintile.net> Topicbox-Message-UUID: 747e7d5a-ead2-11e9-9d60-3106f5b1d025 On 5/29/07, Steve Simon wrote: > I guess you know this but just in case - imap uses the inferno/pop password for > your account on the plan9 box, rather than the p9sk1 one. This is visible on > your machine (so authserv can see it) from the console of your machine, look in > /mnt/keys/$user/secret (I think - not at the console at present). you could > look in here to ensure you don't have a different inferno/pop(/imap) passowrd > from the one you hoped. > actually, here is what is interesting. Once I put the key in /mnt/factotum/ctl via cat, i.e. once I did this: auth/secstore -G factotum > /mnt/factotum/ctl then the mail passwords for all accounts -- port imap or imaps -- stopped working. They were working moments before this, then stopped. Once I got rid of the factotum, they started working again. Now that's confusing (to me). I think the bigger issue is that the wiki is just almost, but not quite, completely wrong on how to do this. thanks ron p.s. this is in auth/password.c: if(pw->expire <= now){ werrstr("account expired"); freePW(pw); return nil; } I read yesterday that pw->expire == 0 means "forever". That's going to always fail here, right? how about if ((pw_expire) && (pw->expire <= now)){