mbox series

[bug#51853,0/2] gnu: sendgmail: Rename package; don't limit domain.

Message ID 20211114203614.89441-1-philip@philipmcgrath.com
Headers show
Series gnu: sendgmail: Rename package; don't limit domain. | expand

Message

Philip McGrath Nov. 14, 2021, 8:36 p.m. UTC
This patch series continues where the discussion
in <https://issues.guix.gnu.org/50420> left off.
For anyone who isn't aware of `sendgmail` at all,
one reason it's notable is that it's recommended
in <https://git-send-email.io/#step-2> (by the SourceHut developers).

The first commit renames the sendgmail package to match the name of the
command, rather than the (remarkably long) Go import path.

The second commit applies some patches to let the command also work for
non-`@gmail.com` email addresses, with an interface compatible with all known
forks. There's more detail on that below.

I am using the resulting package:

    /gnu/store/38bv07yrqzqwfgbdg8f1qswp1kpidw1l-sendgmail-0.0.0-1.e322915

to send these emails.

Philip McGrath (2):
  gnu: sendgmail: Rename package to match command.
  gnu: sendgmail: Don't limit domain name of sender.

 gnu/local.mk                                  |  2 +
 gnu/packages/golang.scm                       | 36 +---------------
 gnu/packages/mail.scm                         | 43 +++++++++++++++++++
 ...sendgmail-accept-ignored-gsuite-flag.patch | 39 +++++++++++++++++
 .../sendgmail-remove-domain-restriction.patch | 34 +++++++++++++++
 5 files changed, 119 insertions(+), 35 deletions(-)
 create mode 100644 gnu/packages/patches/sendgmail-accept-ignored-gsuite-flag.patch
 create mode 100644 gnu/packages/patches/sendgmail-remove-domain-restriction.patch