From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1A31B431FBD for ; Mon, 21 Dec 2009 02:09:05 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IeP0QOv4gdFq for ; Mon, 21 Dec 2009 02:09:04 -0800 (PST) Received: from mail-yw0-f200.google.com (mail-yw0-f200.google.com [209.85.211.200]) by olra.theworths.org (Postfix) with ESMTP id 641A3431FAE for ; Mon, 21 Dec 2009 02:09:04 -0800 (PST) Received: by ywh38 with SMTP id 38so5466298ywh.6 for ; Mon, 21 Dec 2009 02:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:in-reply-to :references:date:message-id:mime-version:content-type; bh=AIcFPUy912RVE576g4H4R2+7GSDwX91jcc/ZK1ugHBY=; b=J7l47GMJompapDgVhoMrTVsNSQGeSChamgS3ntbNzq8+H0QqWkbMd6R2w5TgvxQ7ZE 4RyKPzAgyGwMRU1QKpwFIk+J7uNNphEEH31uYOiQVs9JB+H2VGsJXLQgFE9D4NocIb/S ZBFTcTJl8dM/7AU2T/eGhVjXyDKLi23nn1r4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:bcc:references:date:message-id :mime-version:content-type; b=KvWBiI5WKXnHplTcmp0KmWuS2gB+6hcdj9Lq0+sPXibiFpeRdfzKJMPkvcbgyn6Jy+ chUcBxsIQ99AzZwXyeEWJsrtw/yhpOY8uJjCdX6/fmsEqc4Nylpu8Zpl2eudAPfrc4sB 6nRRgvzPEOdwm5Ix5V1wJl1ACJ9CjwekzaOHM= Received: by 10.90.11.30 with SMTP id 30mr7412118agk.42.1261390131151; Mon, 21 Dec 2009 02:08:51 -0800 (PST) Received: from localhost (220-244-174-171.static.tpgi.com.au [220.244.174.171]) by mx.google.com with ESMTPS id 15sm2245921gxk.8.2009.12.21.02.08.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Dec 2009 02:08:50 -0800 (PST) From: Alex Ghitza To: Adam =?iso-8859-1?q?Sj=F8gren?= , notmuch@notmuchmail.org In-Reply-To: <87ws0h8oo6.fsf@topper.koldfront.dk> References: <54hbrnpod1.fsf@gmail.com> <8763836xnv.fsf@59A2.org> <54hbrmze3v.fsf@gmail.com> <87aaxextev.fsf@yoom.home.cworth.org> <54eimqz2sk.fsf@gmail.com> <87ws0hjyio.fsf@veldthuis.com> <20091220183113.GA4482@finestructure.net> <87ws0h8oo6.fsf@topper.koldfront.dk> Date: Mon, 21 Dec 2009 21:08:22 +1100 Message-ID: <54hbrkwsfd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: keeping a copy of sent mail locally X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 10:09:05 -0000 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/