It is experimental drop-in replacement for qmail’s qmail-remote with CurveCP support.
Warning: Qremote is in prototype form
Qremote functionality is splitted into 5 components:
qmail-remote resolves IP addresses for SMTP server and then call separate program qmail-tcpclient or qmail-curvecpclient for TCP or CurveCP connection. When the connection is established, qmail-tcpclient or qmail-curvecpclient executes qmail-rsmtp program that sends mail message throughout SMTP protocol.
Qremote contains tool named showdnsmx
showdnsmx prints:
fqdn: priority hostname IPv4 [hexadecimal_CurveCP_key] [hexadecimal_CurveCP_extension]
… simulating the behavior of qmail-remote
$ ./showdnsmx google.com google.com: 10 aspmx.l.google.com 173.194.70.26 google.com: 20 alt1.aspmx.l.google.com 173.194.71.26 google.com: 30 alt2.aspmx.l.google.com 173.194.79.26 google.com: 40 alt3.aspmx.l.google.com 173.194.64.26 google.com: 50 alt4.aspmx.l.google.com 74.125.142.26
$ ./showdnsmx mojzis.com mojzis.com: 0 mojzis.com 85.118.128.55 f9b3efa8659f250bb0a50ab1d40e2899fcc522d966af9e9f04d4981899c8a21b 00000000000000000000000000000000 mojzis.com: 0 mojzis.com 37.157.196.86 f9b3efa8659f250bb0a50ab1d40e2899fcc522d966af9e9f04d4981899c8a21b 00000000000000000000000000000000