9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: Re: [9fans] 9 Atom - installation troubles
Date: Sat,  6 Dec 2014 15:40:41 +0200	[thread overview]
Message-ID: <ca5122c65cc68d008bca71096c52a609@proxima.alt.za> (raw)
In-Reply-To: <E35BA905-7569-4A29-9004-3F61F50D81EA@quintile.net>

> smtp=host!987

Too clever!  I'm not sure it would work, though, because in
/sys/src/upas/smtp/mxdial.c the invocation is explicitly:

	addr = netmkaddr(addr, 0, "smtp");

and changing the port by altering /lib/ndb/common:

	tcp=smtp port=25

would be more extreme than I would be comfortable with.

I already added

	tcp=submit port=587

to /lib/ndb/common, so I'm OK with changing mxdial.c:

	addr = netmkaddr(addr, 0, "submit");

and use a recompiled smtp as "submit".  I will insert that in
/mail/lib/remotemail:

	exec /bin/upas/submit -as -u lucio@proxima.alt.za -h $fd $addr $sender $*

and rely on my /mail/lib/rewrite to point the above to the NetBSD MXer
in Cape Town.  Not a solution for everybody, but I'm in the right
situation to use it.

Lucio.

PS: I noted that netmkaddr isn't mentioned in the man page where it
appears only as its invocation.  So I may be making the wrong
assumptions.  I haven't checked the source.


-------------------------------------------------------------------------------------
This email has been scanned by the MxScan Email Security System.
-------------------------------------------------------------------------------------



  reply	other threads:[~2014-12-06 13:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 10:02 lucio
2014-12-05 14:20 ` erik quanstrom
2014-12-05 17:47   ` lucio
2014-12-06 19:02     ` erik quanstrom
2014-12-07  4:26       ` lucio
2014-12-07  5:15       ` lucio
2014-12-07  7:26         ` erik quanstrom
2014-12-07  7:33         ` erik quanstrom
2014-12-05 18:04   ` lucio
2014-12-05 18:15     ` lucio
2014-12-05 20:38       ` Wes Kussmaul
2014-12-05 21:23         ` Skip Tavakkolian
2014-12-06  4:43           ` lucio
2014-12-05 22:21       ` Bakul Shah
2014-12-06  4:57         ` lucio
2014-12-06 16:34           ` erik quanstrom
2014-12-06 18:12             ` lucio
2014-12-06 18:53               ` erik quanstrom
2014-12-06  5:06         ` lucio
2014-12-06  9:09         ` lucio
2014-12-06  9:27           ` Bakul Shah
2014-12-06 10:28           ` Quintile
2014-12-06 13:40             ` lucio [this message]
2014-12-06 16:29               ` erik quanstrom
2014-12-06 16:42                 ` Kurt H Maier
2014-12-06 17:47                   ` lucio
2014-12-06 13:43             ` lucio
2014-12-06 14:06               ` lucio
2014-12-06 14:30             ` lucio

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=ca5122c65cc68d008bca71096c52a609@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --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).