unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Keith Packard <keithp@keithp.com>
To: Alex Ghitza <aghitza@gmail.com>, Carl Worth <cworth@cworth.org>,
	Jed Brown <jed@59A2.org>,
	notmuch@notmuchmail.org
Subject: Re: keeping a copy of sent mail locally
Date: Sat, 19 Dec 2009 21:02:18 -0800	[thread overview]
Message-ID: <yuneimqdyqt.fsf@aiko.keithp.com> (raw)
In-Reply-To: <54eimqz2sk.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

On Sun, 20 Dec 2009 15:29:15 +1100, Alex Ghitza <aghitza@gmail.com> wrote:

> Good.  So we can put this in notmuch.el and Keith will get everybody's
> sent mail. :)

That seems sub-optimal, at least for me...

> It looks like we need a way to get the primary email address from the
> config file.

We actually want to let the user *select* an email address from the
config file, and then automagically set the bcc: flag as
appropriate. Without that, I'd end up bcc'ing all of my mail through my
home address, which would end up sending work email unencrypted to my
house. Sub-optimal

> (setq user-full-name "Alex Ghitza")
> (setq user-mail-address "aghitza@gmail.com")

You can set everything in the message-mail argument list:

(message-mail nil nil '(("bcc" "keith.packard@intel.com") ("from" "Keith Packard <keith.packard@intel.com>")))

Alternatively, we can hack up message mode so that when the From address
is set (using completion from the notmuch config), the Bcc line is copied.

-- 
keith.packard@intel.com

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2009-12-20  5:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19  4:41 keeping a copy of sent mail locally Alex Ghitza
2009-12-19 10:55 ` Jed Brown
2009-12-20  0:24   ` Alex Ghitza
2009-12-20  2:37     ` Carl Worth
2009-12-20  2:50       ` Keith Packard
2009-12-20  4:29         ` Alex Ghitza
2009-12-20  5:02           ` Keith Packard [this message]
2009-12-20 18:22             ` Marten Veldthuis
2009-12-20 18:31               ` Jameson Graef Rollins
2009-12-20 18:51                 ` Adam Sjøgren
2009-12-21 10:08                   ` Alex Ghitza
2009-12-21 10:19                     ` Marten Veldthuis
2009-12-21  9:57                 ` Alex Ghitza
2009-12-21 14:46                   ` Jameson Graef Rollins
2009-12-21 17:27           ` Carl Worth
2009-12-21 19:39             ` Adrien BUSTANY
2009-12-21 20:24               ` Carl Worth

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=yuneimqdyqt.fsf@aiko.keithp.com \
    --to=keithp@keithp.com \
    --cc=aghitza@gmail.com \
    --cc=cworth@cworth.org \
    --cc=jed@59A2.org \
    --cc=notmuch@notmuchmail.org \
    /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://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).