9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steven Stallion" <sstallion@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] /mail/lib/rewrite and net!$smtp
Date: Sat, 7 Dec 2019 15:46:53 -0600	[thread overview]
Message-ID: <0b4a7446d99a56b4cf9d6c043769e873@philo.quuxotic.net> (raw)
In-Reply-To: <f230b7e52093501b3b54bb9b76c7758e@hamnavoe.com>

> Don't give up yet, it works for me:
> 
> term% ndb/csquery /net/cs 'net!$smtp!smtp'
> /net/tcp/clone 93.93.130.6!25
> /net/tcp/clone 93.93.131.52!25
> /net/tcp/clone 2a00:1098::86:1000:0:2:1!25
> /net/tcp/clone 2a00:1098::82:1000:0:2:1!25
> 
> In my /lib/ndb/local I have this:
> 
> ipnet=localnet
>         ip=192.168.0.0 ipmask=255.255.0.0
>         smtp=mx.mythic-beasts.com
>         ntp=pool.ntp.org
>         dnsdomain=hamnavoe.com
>         MAILSERVER=atom

Thanks!  Unfortunately my MX host only exposes port 587 for relaying
mail outside of the domain.  I suppose I could update cs to permit
specifying a port number in ndb for $smtp, but I'm not sure that's any
better than just specifying the relay host directly in rewrite.

Cheers,
Steve


  reply	other threads:[~2019-12-07 21:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07  0:13 Steven Stallion
2019-12-07 21:10 ` [9fans] " Richard Miller
2019-12-07 21:46   ` Steven Stallion [this message]
2019-12-07  0:54 Alex Musolino
2019-12-07  1:13 ` kvik
2019-12-08  2:25 Steven Stallion

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=0b4a7446d99a56b4cf9d6c043769e873@philo.quuxotic.net \
    --to=sstallion@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).