9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Grant Mather <hcaulfield57@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] upas/smtp and gmail
Date: Wed, 22 Jan 2014 22:57:20 -0700	[thread overview]
Message-ID: <20140123055720.GA4132@Grants-MacBook.local> (raw)

I'm wondering what exactly I'm doing wrong, I've been trying to send
mail on Plan 9 for some time now, and I'm definitely misunderstanding
something about how upas works. My goal is to send my mail via gmail,
but this has not been working, I've also tried different email account
providers I have, but to no avail. The steps I've taken:

cp /mail/lib/rewrite.gateway /mail/lib/gateway

add an smtp=smtp.gmail.com entry under my ipnet in /lib/ndb/local

changed the last line of /mail/lib/remotemail to read 'exec
/bin/upas/smtp -sa -u mygmailusername@gmail.com -h $fd
tcp!smtp.gmail.com!587 $senter $*'

The farthest I have gotten is getting smtp to issue 220 Ready to Start
TLS, and then it exits, that's running smtp with the -d flag.
/sys/log/smtp reveals a bunch of bad thumbprint x509 lines. I have tried
adding the sha1 hash to /sys/lib/tls/mail, but this has had no effect.

I'm a bit puzzled on the arguments to upas/smtp as well, what is the
value of sender arg supposed to be, and the rcpt-list respectively? How
is the sender option any different than the user provided with the -u
flag?

Any help would be much appreciated!



             reply	other threads:[~2014-01-23  5:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23  5:57 Grant Mather [this message]
2014-01-23 10:10 ` erik quanstrom
2014-01-23 16:59 ` blstuart
2014-01-23 19:54   ` Grant R. Mather

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140123055720.GA4132@Grants-MacBook.local \
    --to=hcaulfield57@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).