Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9BE9B431FAF for ; Tue, 5 Jun 2012 23:16:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 FyeeOwzeTJLM for ; Tue, 5 Jun 2012 23:16:06 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 8F6A3431FAE for ; Tue, 5 Jun 2012 23:16:06 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id 1B3A310014D; Wed, 6 Jun 2012 09:16:16 +0300 (EEST) From: Tomi Ollila To: Svend Sorensen , Bart Bunting , notmuch@notmuchmail.org Subject: Re: Any tips on emacs and different signatures per address In-Reply-To: <87vcj5pbf2.fsf@ciffer.net> References: <87vcj5pbf2.fsf@ciffer.net> User-Agent: Notmuch/0.13.2+7~g08be9ce (http://notmuchmail.org) Emacs/23.1.1 (x86_64-redhat-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Wed, 06 Jun 2012 06:16:08 -0000 On Wed, Jun 06 2012, Svend Sorensen wrote: > On Wed, 06 Jun 2012 09:25:17 +1000, Bart Bunting wrote: >> >> I have several different email addresses that notmuch handles mail for. >> I am trying to understand how I can have multiple different signatures >> based on the account from which I am sending the email. >> >> One possibility looks like somehow using message-mode to do this but I >> can't quite figure it out. >> >> The other thing I would like in an ideal world is to change the bcc >> address to a different address again based on the from address of the >> email I am sending. > > I am using gnus-alias to change message settings based on my from > address. > > gnus-alias sets bcc, signature, etc. based on the from address. It can > also switch identities while in message mode. I haven't had any problems > using gnus-alias with notmuch or message-mode directly. (I don't use gnus.) > > I'd be happy to share my configuration. Svend, could you write a wiki page about gnus-alias, like emacstips/gnus-alias.mdwn. That would be very useful. > Svend Tomi