mblaze, a Maildir-focused command line mail client
 help / color / mirror / code / Atom feed
From: "Silvan Jegen" <s.jegen@gmail.com>
To: mblaze@googlegroups.com
Subject: Email address aliases
Date: Sat, 06 Jul 2019 23:02:10 +0200	[thread overview]
Message-ID: <3CPF2KFLU5TP7.242WO6ROBA9PE@homearch.localdomain> (raw)

Heyho

Ideally I don't want to type out people's whole email addresses when
composing emails. My first thought was to use an alias file with my
SMTP client (msmtp). This works fine for sending emails, except that
the aliases are not replaced in the mail headers. That means if a person
replies to all people in a mail from me, and the CC header contains an
alias like 'friend1', the email addressed to 'friend1' one will never
arrive since it's not a valid email address.

Currently I am using a new approach where I simply run 'sed' over the
headers of an email at composiition time to replace all my aliases with
the proper email addresses.

I feel like there should be a more elegant solution to this (involving
'msed' being invoked before passing an email to the sendmail program
perhaps?). Is there an easy way to get simple email address aliases
working that I am missing?


Cheers,

Silvan

-- 
You received this message because you are subscribed to the Google Groups "mblaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com.
To post to this group, send email to mblaze@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/3CPF2KFLU5TP7.242WO6ROBA9PE%40homearch.localdomain.
For more options, visit https://groups.google.com/d/optout.

             reply	other threads:[~2019-07-06 21:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06 21:02 Silvan Jegen [this message]
2020-06-24 20:07 ` Pierre Bellec
2020-12-30 10:52   ` Silvan Jegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CPF2KFLU5TP7.242WO6ROBA9PE@homearch.localdomain \
    --to=s.jegen@gmail.com \
    --cc=mblaze@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mblaze/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).