From: kokamoto@hera.eonet.ne.jp
To: 9front@9front.org
Subject: Re: [9front] using smtp port 587
Date: Sat, 17 Dec 2016 15:18:32 +0900 [thread overview]
Message-ID: <ed09a10ab92d7d0a799e06efb63c74e2@titan.jitaku.localdomain> (raw)
In-Reply-To: <f6d89cb353a4a70242f5cc3af2e04a79@ci5dell.jitaku.localdomain>
I got success to send submission mail using port 587.
I'm using eric's nupas on 9front system.
His nupas has smtpcram() function in smtp/smtp.c, which I'm
using now to connect to our MD5-CRAM protocol server.
The changed points are as follows:
1) /change the source of smtpcram() function in smtp/smtp.c like:
n = auth_respond(ch, l, usr, sizeof usr, rbuf, sizeof rbuf, auth_getkey, abuf);
===>
n = auth_respond(ch, l, usr, sizeof usr, rbuf, sizeof rbuf, auth_getkey, "%s", abuf);
This was taught by cinap here.
dBprint("%s\r\n", ch);
===>
dBprint("%s\r\n", ebuf);
2) /mail/lib/rewrite
at the last line to like:
# send all mail to the gateway or mail server, $smtp, for delivery
([^!]*)!(.*) | "/mail/lib/qmail '\s' 'tcp!smtpauth.eonet.ne.jp!587'" "'\2@\1'"
3) /mail/lib/
at the last line to like:
exec /bin/upas/smtp -a -i -h $fd -u kokamoto%hera.eonet.ne.jp $addr $sender $*
I hope this may help someone.
Kenji
next prev parent reply other threads:[~2016-12-17 6:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 4:41 kokamoto
2016-12-01 4:51 ` [9front] " Stanley Lieber
2016-12-01 5:10 ` kokamoto
2016-12-01 5:22 ` Stanley Lieber
2016-12-01 7:59 ` kokamoto
2016-12-01 8:01 ` kokamoto
2015-05-29 7:25 ` Steve Simon
2016-12-01 20:35 ` Stanley Lieber
2016-12-01 20:48 ` Steve Simon
2016-12-02 1:58 ` kokamoto
2016-12-08 7:10 ` kokamoto
2016-12-09 1:42 ` kokamoto
2016-12-09 12:11 ` cinap_lenrek
2016-12-11 3:56 ` kokamoto
2016-12-11 15:02 ` Steve Simon
2016-12-12 1:33 ` kokamoto
2016-12-17 6:18 ` kokamoto [this message]
2016-12-17 6:23 ` kokamoto
2016-12-17 9:19 ` Steve Simon
2016-12-17 11:46 ` kokamoto
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=ed09a10ab92d7d0a799e06efb63c74e2@titan.jitaku.localdomain \
--to=kokamoto@hera.eonet.ne.jp \
--cc=9front@9front.org \
/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).