Re: selecting "from" when sending an email
- To: mutt-users@xxxxxxxx
- Subject: Re: selecting "from" when sending an email
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 7 Oct 2008 00:14:57 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=JSBxXin9+NWaghakXnW28z4KVIA=; b=BEUD Al6lV0oH9oLtTgMeR3Wfg2Svynm+ygW6jBFUNSpqUaIuvEqsYjO1AqXKOf4D1Eqd We9gqUYCzBRzVjScqVfSZs/Aihvk4uri+oILtMIIv5CyWDfz5Au5Bul6rLXXqnkC GLEkN4BSKXbLg1Qf4DTozxHUn17wq2oc3r2P4U4=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=gB2vj7OoZmD1aChCGz5VPpdhUnYv++FM3pYX16CFp7fnAqXMJ/xium5Z3cOaikb/BnI82jP145U6QULb1peDxKMErPJYNi0kkLqBvlxfXbh3SCl391mlQSu0a7C6ziDCqav8w1ENANTPIrE6Kt+P6bsKNyZlll8YgAGpr09jnSU=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20081007051031.GG11395@xxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20081007044527.GE11395@xxxxxxxxxxxx> <20081007044833.GA721@xxxxxxxxxxxxx> <20081007051031.GG11395@xxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-09-25)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, October 6 at 11:10 PM, quoth Joseph:
>>> When sending an email to certain person I have a hook:
>>>
>>> send-hook '~t ^family_member1@xxxxxxxxx$|~t family_member2@xxxxxxxxx'
>>> "my_hdr From: Joseph <my_email@address>; set signature=~/.mutt/signature$
>>>
>>> Now the problem is when my wife wants to send an email to one of these
>>> persons my "From: email" and my "signature" is automatically selected.
>>> Is there a way to select different headers (from, signature etc) when
>>> sending and email the the same person?
>>
>> How exactly is mutt supposed to know whether it's you or your wife at
>> the keyboard?
>
> That is my question.
The *usual* way that people do this is that two people don't share a
single email account and client.
But for those that want to be able to toggle between return addresses
(and/or signatures), the answer is usually to create a macro that will
change all the necessary settings. For example:
macro compose <f1> "set signature=~/.mutt/wifesig; my_hdr From:
<wife@address><enter>"
~Kyle
- --
To invent, you need a good imagination and a pile of junk.
-- Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkjq8FEACgkQBkIOoMqOI149HACfU5pwfwmZLeusILx65Tz2iqze
IN4An0ndpNKKT+eTE0VBeGyhvQB4rIKK
=uLRR
-----END PGP SIGNATURE-----