Where you've put it seems like the right place to me.
Acme Mail is doing the wrong thing here. It should respect $upasname for
this purpose, like marshal does. I think this is just a change to mesgsend in
/acme/mail/src/reply.c; unlike marshal, don't overwrite user, but just wrap
"fprint(ofd,
I started hosting my personal domain's email on 9front and wanted to
sign my outgoing emails with a DKIM, so I wrote something in Go that
reads a message from stdin and writes a DKIM signed version to stdout
(https://github.com/driusan/dkim).
I was planning on using it in /mail/lib/remotemail by