unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Alex Ghitza <aghitza@gmail.com>
To: "Adam Sjøgren" <asjo@koldfront.dk>, notmuch@notmuchmail.org
Subject: Re: keeping a copy of sent mail locally
Date: Mon, 21 Dec 2009 21:08:22 +1100	[thread overview]
Message-ID: <54hbrkwsfd.fsf@gmail.com> (raw)
In-Reply-To: <87ws0h8oo6.fsf@topper.koldfront.dk>

On Sun, 20 Dec 2009 19:51:05 +0100, asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) wrote:
> On Sun, 20 Dec 2009 13:31:13 -0500, Jameson wrote:
> 
> > There must be a way to tell emacs message-mode to save a copy of
> > outgoing mail locally. Mutt does this with it's Fcc commands (ie. 
> > "file carbon copy"). I think we should look for a solution like this.
> 
> Gnus uses Gcc for this (see gnus-message-archive-group and
> gnus-message-archive-method); I think message.el also supports Fcc; eg. 
> see message-fcc-handler-function:
> 

Adam, thanks for the info on the message-fcc-handler-function.  I'll try
to get something working based on this.  There are two questions of
design now:

1. where should the file be saved?  I'm thinking of a new setting in
$NOTMUCH_CONFIG, along the lines of sentmail_path=...
Should there be a default if this is not set, e.g. a subdirectory "sent"
of the directory given in the config variable "path"?

2. of course, filenames need to be unique.  Do we want/have to follow
the maildir file naming conventions listed at
http://cr.yp.to/proto/maildir.html
or is it enough to use the Emacs lisp make-temp-file?


Best,
Alex


-- 
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

  reply	other threads:[~2009-12-21 10:09 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
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 [this message]
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=54hbrkwsfd.fsf@gmail.com \
    --to=aghitza@gmail.com \
    --cc=asjo@koldfront.dk \
    --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).