git-send-email: smtpserver in $HOME

From: Jan “Khardix” Staněk <hidden>
Date: 2021-02-15 14:08:23

Hi all,
I ran into a bit of an issue when attempting to configure sendemail.
I use a GMail integration tool [1]
which is installed into my $HOME directory (~/.local/bin/gmi),
and I would like to use it as `smtpserver`.

[1]: https://github.com/gauteh/lieer

However, I also use different machines with different login/usernames,
which means the above is not so simple.
Basically I would have to keep login-specific configuration files
with appropriate absolute path to the tool "hardcoded" in.
Since I like to keep my configuration in git
and synced across my machines,
that is a state I do not like very much.

Would it be feasible to treat the `smtpserver` as path option
and expand `~`/`~user` paths?
Would it break anything
(i.e., is `~` a valid character for beginning of a hostname)?

Any other thoughts on this? Am I missing anything obvious? :)

Thanks in advance for any considerations and replies.
--
Jan Staněk – Khardix

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help