[notmuch] Archiving outgoing email in Gnus (was Re: notmuch-new: Eliminate tallocs...
authorAdam Sjøgren <asjo@koldfront.dk>
Sat, 28 Nov 2009 17:38:34 +0000 (18:38 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:46 +0000 (09:35 -0800)
f2/d273b0e3631b37a9c6a6207db3bcca12227784 [new file with mode: 0644]

diff --git a/f2/d273b0e3631b37a9c6a6207db3bcca12227784 b/f2/d273b0e3631b37a9c6a6207db3bcca12227784
new file mode 100644 (file)
index 0000000..87ece52
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <gmn-notmuch@m.gmane.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C0363431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 09:40:38 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 7mEi8PnaHIRr for <notmuch@notmuchmail.org>;\r
+       Sat, 28 Nov 2009 09:40:38 -0800 (PST)\r
+X-Greylist: delayed 9632 seconds by postgrey-1.32 at olra;\r
+       Sat, 28 Nov 2009 09:40:38 PST\r
+Received: from lo.gmane.org (lo.gmane.org [80.91.229.12])\r
+       by olra.theworths.org (Postfix) with ESMTP id 26B98431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 09:40:38 -0800 (PST)\r
+Received: from list by lo.gmane.org with local (Exim 4.50) id 1NERHg-0002ox-Ka\r
+       for notmuch@notmuchmail.org; Sat, 28 Nov 2009 18:40:36 +0100\r
+Received: from 95.166.24.143 ([95.166.24.143])\r
+       by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 18:40:36 +0100\r
+Received: from asjo by 95.166.24.143 with local (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 18:40:36 +0100\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=)\r
+Date: Sat, 28 Nov 2009 18:38:34 +0100\r
+Organization: koldfront - analysis & revolution, Copenhagen, Denmark\r
+Lines: 44\r
+Message-ID: <87pr72mtwl.fsf_-_@topper.koldfront.dk>\r
+References: <1258851430-28732-1-git-send-email-chris@chris-wilson.co.uk>\r
+       <87einkqeyt.fsf@yoom.home.cworth.org>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=iso-8859-1\r
+Content-Transfer-Encoding: 8bit\r
+X-Complaints-To: usenet@ger.gmane.org\r
+X-Gmane-NNTP-Posting-Host: 95.166.24.143\r
+X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,\r
+       Q(^@xk}n4Ou\r
+       rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ  ^St'=VZBR<gm`!Dj`dIpp?+$"$l_'JKDN\w-jB;fo0Qy}Tbw\r
+User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (linux)\r
+Cancel-Lock: sha1:fOPsTRWZZ9D4FKzHI+DDTYWeWNs=\r
+Sender: news <news@ger.gmane.org>\r
+Subject: [notmuch] Archiving outgoing email in Gnus (was Re: notmuch-new:\r
+       Eliminate tallocs whilst construct filenames.)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 28 Nov 2009 17:40:38 -0000\r
+\r
+On Fri, 27 Nov 2009 05:23:06 -0800, Carl wrote:\r
+\r
+>   [*] I tried and tried to figure out how to get gnus to save an Fcc (a\r
+>       file copy of all outgoing messages), and failed to configure the\r
+>       various "fake newsgroup things" that gnus wanted for me to be able\r
+>       to do this.\r
+\r
+I use this simple recipe for archiving all my outgoing emails and\r
+news-articles in nnml+archive:{news,mail}-{year} in Gnus:\r
+\r
+  ; Define nnml+archive: for archiving emails and news in ~/Mail/archive:\r
+  (setq gnus-message-archive-method '(nnml "archive"\r
+                                           (nnml-directory "~/Mail/archive")\r
+                                           (nnml-active-file "~/Mail/archive/active")\r
+                                           (nnml-get-new-mail nil)\r
+                                           (nnml-inhibit-expiry t)))\r
+\r
+  ; Tell Gnus to archive outgoing articles/emails automatically:\r
+  (setq gnus-message-archive-group\r
+        '((if (message-news-p)\r
+              (concat "news-" (format-time-string "%Y"))\r
+            (concat "mail-" (format-time-string "%Y")))))\r
+\r
+  ; Mark gcc'ed (archive) as read:\r
+  (setq gnus-gcc-mark-as-read t)\r
+\r
+>       The other piece I want is for unsent mail drafts to automatically\r
+>       be saved, and for notmuch to prompt me to continue with a draft if\r
+>       I start composing a new message while a draft is\r
+>       around. Currently, I can save a draft while composing in\r
+>       message-mode with "C-x C-s" but the big bug here is that the\r
+>       drafts never get deleted when I send the message, so I can't tell\r
+>       unfinished drafts apart from completed-and-sent messages.\r
+\r
+(This works for me in Gnus: automatic saving, deletion when sending.)\r
+\r
+\r
+  Best regards,\r
+\r
+    Adam\r
+\r
+-- \r
+ "I'll dye without my hair!"                                  Adam Sjøgren\r
+                                                         asjo@koldfront.dk\r
+\r