From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13953 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.user Subject: limiting storage of sent emails Date: Thu, 06 May 2010 17:05:02 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273164199 30095 80.91.229.12 (6 May 2010 16:43:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 16:43:19 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu May 06 18:43:18 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OA4AO-0000II-JQ for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 18:43:17 +0200 Original-Received: from localhost ([127.0.0.1]:58915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA4AN-0007rR-54 for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 12:43:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA2ql-0006h6-Ej for info-gnus-english@gnu.org; Thu, 06 May 2010 11:18:55 -0400 Original-Received: from [140.186.70.92] (port=44783 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA2qi-000649-O0 for info-gnus-english@gnu.org; Thu, 06 May 2010 11:18:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA2iL-0000ie-TF for info-gnus-english@gnu.org; Thu, 06 May 2010 11:10:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:45096) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA2iL-0000iN-MH for info-gnus-english@gnu.org; Thu, 06 May 2010 11:10:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OA2iH-00067x-UK for info-gnus-english@gnu.org; Thu, 06 May 2010 17:10:09 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 May 2010 17:10:09 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 May 2010 17:10:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13953 Archived-At: I am trying NOT to archive or store sent messages if the From field is a certain value. This is not working reliably for me. Which function or method should I use to access the correct From field? I had used the "original article" field but that doesnt work if its the first email of a gnus session so I guess that was not correct. from my custom.el ,---- | '(gnus-message-archive-group (quote ((if (message-news-p) nil (unless (string-match "rileyrg@" (gnus-fetch-field "From")) "nnimap+mymail:INBOX.sent"))))) `---- What his should be doing is ONLY archiving emails and then only if the >From is not rileyrg@. Any help or pointers appreciated.