git-send-email: smtpserver in $HOME
- From
Jan “Khardix” Staněk <khardix@gmail.com>
- Date
- Feb 15, 2021, 14:07 UTC
- Message-ID
- <CAG+K25Pk0+sOAYuWS2OF7CXLXJLjGMKyBB_SOLpoO5RFiktN5g@mail.gmail.com>
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