Re: How to move outgoing mails in different mailboxes
- To: mutt-users@xxxxxxxx
- Subject: Re: How to move outgoing mails in different mailboxes
- From: "Francis Moreau" <francis.moro@xxxxxxxxx>
- Date: Fri, 11 Jan 2008 21:26:17 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=NVMyuhdyncSOouzMisySCu80U4yp/yeNPodBMWA1208=; b=ZW+YYL2dDPLBNJHY0KE0IaxNH42OyIXD6WI5lN+tRcuKmWz79RUmCR7WpGVNZKMbLvtkzQB84tI3z6rnSTHkXUJCNSkx8lSwXG7ZkxT9uCMHqg35UsOZHyEkxzyK4cN0vbuNVoIO5wyyLpfBuujuJsZn9Uh3+COVCUVQTJdiQ0Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gTLpLjTPW/8VwifJFOoWxNvMWFi3+Qy1WNS+8UPDAJy9s+nKH6nZH7IU3O+i1GuYN4abdyiXrIguoFVOmzojCpzQzRlx4i89nsEze/ld/1kC8sREPn22+1FES71QdXprPFOXmRJUMccJDUsK2FESemOZ6jDEsWtkvFhi5Eq4YQw=
- In-reply-to: <20080111184255.GC17995@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <38b2ab8a0801110919q4f3a7508wbbcb05e2d80f00b4@xxxxxxxxxxxxxx> <20080111184255.GC17995@xxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
He
Hello Kyle,
On Jan 11, 2008 7:42 PM, Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday, January 11 at 06:19 PM, quoth Francis Moreau:
> > So now I'd like to move my outgoing emails according to the mailbox
> > I'm composing this email:
>
> Let's start with the exception:
>
> > - if I compose an email from a mailing list, I suppose there's no
> > need to save anything since I'm going to received a copy of the
> > email I wrote (I'm subscribed)
>
> send-hook ~l 'set record='
>
> Now, you'll note that all the rest of these amount to the same thing:
> "if I'm in mailbox X, save the message to mailbox X".
>
> > - if I compose an email from my spool mailbox, I'd like mutt to
> > save the outgoing message in my spool mailbox;
> > - If I compose an email from my project mailboxe I'd like mutt to
> > keep a copy in this mailbox.
> > - If I compose an email from a personal mailboxe I'd like Mutt to
> > keep a copy in this mailbox.
>
> The following will do that:
>
> fcc-hook . ^
>
Ah, that's what I can't find in the documentation. '^' char means the
current mailbox, doesn't it ?
I took a look to "mailbox shortcuts" in the documentation (section 4.7)
but there's no reference of this shortcut.
> The question is: how do you want these two to interact. If you simply
> put them both in your muttrc, the fcc-hook will always override the
> send-hook. If you'd like the send-hook to override the fcc-hook, use
> this (AFTER the fcc-hook) instead:
>
> fcc-hook ~l /dev/null
>
> Alright, technically, that's a hack, since mutt's still saving the
> FCC. Unfortunately doing something like this:
>
> fcc-hook ~l ''
>
> ... doesn't work.
>
> There are probably a half a dozen other ways of doing this. Here's
> another method:
>
> send-hook . 'set record=^'
> send-hook ~l 'set record='
>
Same here, I can't find the '^' meaning in the doc.
Thanks
--
Francis