From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.228.136 with SMTP id je8cs121793icb; Mon, 7 Mar 2011 00:22:16 -0800 (PST) Received: by 10.231.113.73 with SMTP id z9mr2753097ibp.105.1299486133405; Mon, 07 Mar 2011 00:22:13 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 13si1302321ibc.100.2011.03.07.00.22.12; Mon, 07 Mar 2011 00:22:12 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 0D2A61D780F5 for ; Mon, 7 Mar 2011 03:22:11 -0500 (EST) Received: from steel.pruts.nl (pruts.nl [82.94.235.106]) by rubyforge.org (Postfix) with ESMTP id 5CC1818582EE for ; Mon, 7 Mar 2011 01:52:01 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by steel.pruts.nl (Postfix) with ESMTP id 56F74E20A5 for ; Mon, 7 Mar 2011 07:52:00 +0100 (CET) X-Virus-Scanned: amavisd-new at pruts.nl Received: from steel.pruts.nl ([127.0.0.1]) by localhost (steel.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GBFvxYcivOkj for ; Mon, 7 Mar 2011 07:51:57 +0100 (CET) Received: by steel.pruts.nl (Postfix, from userid 1000) id D3A94E20C2; Mon, 7 Mar 2011 07:51:57 +0100 (CET) From: Ico Doornekamp To: sup-devel In-reply-to: <1299454258-sup-7115@whisper> References: <1299436337-sup-4604@pruts.nl> <1299454258-sup-7115@whisper> Date: Mon, 07 Mar 2011 07:51:57 +0100 Message-Id: <1299480660-sup-5856@pruts.nl> User-Agent: Sup/git Subject: Re: [sup-devel] Mail-to-self does not end up in inbox X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org * On Mon Mar 07 00:36:24 +0100 2011, Hamish wrote: > Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011: > > Back in the old days when using mutt, I regularly used to send mails to > > myself as reminders or short notes. Sup however shows intelligent > > behaviour, recognizes the message is both sent and received, and > > attaches a 'sent' label to it, and thus the mail does not show up in the > > inbox. > > > > Is there a simple workaround for this ? Could this be considered a bug, > > or is this just functioning as designed ? > > I generally prefer sent email to not show up in the inbox - I try to > keep my inbox somewhere near zero (though I rarely achieve it ...) > > A work around could be to add the inbox label to sent mail that is just > to you. In before-add-message.rb you could have something like: > > > if message.from.email == "me@mine.com" && message.to.length == 1 && message.to[0].email == "me@mine.com" > message.add_label :inbox > end > > I haven't tested that, so you may want to check your logs if you try > using it. Works like a charm. Thanks! -- :wq ^X^Cy^K^X^C^C^C^C _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel