Re: [notmuch] keeping a copy of sent mail locally

Subject: Re: [notmuch] keeping a copy of sent mail locally

Date: Sat, 19 Dec 2009 21:02:18 -0800

To: Alex Ghitza, Carl Worth, Jed Brown, notmuch@notmuchmail.org

Cc:

From: Keith Packard


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
part-000.sig (application/pgp-signature)

Thread: