9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] can't login to imap
@ 2026-01-11  8:49 hahahahacker2009
  0 siblings, 0 replies; 2+ messages in thread
From: hahahahacker2009 @ 2026-01-11  8:49 UTC (permalink / raw)
  To: 9fans

> Anyone having an imap server on plan 9 4th edition these days?
> I have added a inferno/pop secret using auth/changeuser. 
> upas/fs -f /imaps/server/someone
> reports BAD LOGIN BAD SYNTAX.

turns out that upas/fs doesn't quote the password, e.g
9X1 login someone pass%word --> fail
9X1 login someone "pass%word" --> success

> 
> I can connect with thunderbird, using ssl/tls and ``encrypted password'', but gmail on android says incorrect username/password.
> 
> I also tried pop3 with upas, upas/fs -f /pops/server/someone says "-ERR no tls credentials".
> 
> This is my tcp993:
> 
> #!/bin/rc
> 
> exec tlssrv -c/sys/lib/tls/fullchain.pem -limap4d -r`{cat $3/remote} /bin/ip/imap4d -p -r`{cat $3/remote} >[2]/sys/log/imap4d
> 
> By the way, is it possible to use smtpd over tlssrv (port 465 - ssmtp)? My tcp465 is the same as tcp993 below, except that it launch upas/smtpd. Connecting with tlsclient report the error record message too long (while tlsclient to port 993 works as expected).

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tee00bd21bb82f3e3-M7ff364c0b0ebf8f12fc3c8ed
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [9fans] can't login to imap
@ 2025-12-29  7:28 hahahahacker2009
  0 siblings, 0 replies; 2+ messages in thread
From: hahahahacker2009 @ 2025-12-29  7:28 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]

Anyone having an imap server on plan 9 4th edition these days?
I have added a inferno/pop secret using auth/changeuser. 
upas/fs -f /imaps/server/someone
reports BAD LOGIN BAD SYNTAX.

I can connect with thunderbird, using ssl/tls and ``encrypted password'', but gmail on android says incorrect username/password.

I also tried pop3 with upas, upas/fs -f /pops/server/someone says "-ERR no tls credentials".

This is my tcp993:

#!/bin/rc

exec tlssrv -c/sys/lib/tls/fullchain.pem -limap4d -r`{cat $3/remote} /bin/ip/imap4d -p -r`{cat $3/remote} >[2]/sys/log/imap4d

By the way, is it possible to use smtpd over tlssrv (port 465 - ssmtp)? My tcp465 is the same as tcp993 below, except that it launch upas/smtpd. Connecting with tlsclient report the error record message too long (while tlsclient to port 993 works as expected).
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T2689cf47c408ccbd-Mb77a16a6cf61c7af6b4a5596
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1792 bytes --]

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

end of thread, other threads:[~2026-01-11 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-11  8:49 [9fans] can't login to imap hahahahacker2009
  -- strict thread matches above, loose matches on Subject: below --
2025-12-29  7:28 hahahahacker2009

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).