1. s/qmail/DOC/qmtpd
https://www.fehcom.de/sqmail/man/qmail-remote.html
- qmtproutes 拡張について言及あり。
qmail-1.03 からの送信にはNelsonのパッチが必要とある。
tss側では受信設定だけして、s/qmailで送信を使ってみる。 成功した。-- ToshinoriMaeno 2021-05-07 05:56:51
1.1. qmtproutes
Additional QMTP routes which have precedence over smtproutes. QMTP routes should obey the form domain:relay;port, without any extra spaces. qmtproutes follows the same syntax as smtproutes. By default, qmail-remote connects to QMTP service port 209. However you can chose a dedicated high-port for QMTP communication as defined in qmtproutes. In case the QMTP port is chosen to be 6209 the TLS secured QMTPS protocol will be used, irrespectively of the settings in tlsdestinations.
1.2. 送信側
qmtproutes: m.qmail.jp:ipaddress: 14.192.44.5(ホスト名では送れず)
@400000006094d0d71961fa6c new msg 973 @400000006094d0d71962311c info msg 973: bytes 366 from <tmaeno@m.dnsz.org> qp 6173 uid 1001 @400000006094d0d719628324 starting delivery 1: msg 973 to remote vd@m.qmail.jp @400000006094d0d71962e8b4 status: local 0/10 remote 1/20 @400000006094d0d71cdf51bc delivery 1: success: qmtp:ok_1620365517_qp_3543/All_received_okay_by_14.192.44.5/ @400000006094d0d71ce0d08c status: local 0/10 remote 0/20 @400000006094d0d71ce193dc end msg 973
1.3. f.ns.qmail.jp / 受信側
daemontools ではうまくないので、ひとまずroot でrun。
root@f:/service/qmtpd # sh run & [1] 3522 root@f:/service/qmtpd # tcpserver: status: 0/4 tcpserver: status: 1/4 tcpserver: pid 3542 from 153.126.187.246 tcpserver: ok 3542 m.qmail.jp:14.192.44.5:209 ik1-329-24992.vs.sakura.ne.jp:153.126.187.246::34044 tcpserver: end 3542 status 0 tcpserver: status: 0/4
smtpd の runをコピーしそこねていた。
access 制限を追加して、テスト再開。