[Techtalk] Filing fcc copies to different folders in mutt

Katie Bechtold katie at katie-and-rob.org
Sat May 18 19:22:47 EST 2002


On Sat, May 18, 2002 at 03:29:22PM -0400, Charlotte Oliver wrote:
> When he sends a message, he wants a copy of his sent message
> (the fcc:) to go to separate folders, depending on who he sends
> it to.  For example, when he sends messages to me, he would like
> to automatically have his fcc set to his Char folder.  He tells
> me Pine can do this.  Is there a way for mutt to?

Yes, I think what he wants is this (taken from a section of the Mutt
manual at http://www.mutt.org/doc/manual/manual-3.html#ss3.15):

<snip>
3.15 Specify default Fcc: mailbox when composing

Usage: fcc-hook [!]pattern mailbox

This command is used to save outgoing mail in a mailbox other than
$record. Mutt searches the initial list of message recipients for
the first matching regexp and uses mailbox as the default Fcc:
mailbox. If no match is found the message will be saved to $record
mailbox.

See Message Matching in Hooks for information on the exact format of
pattern.

Example: fcc-hook aol.com$ +spammers

The above will save a copy of all messages going to the aol.com
domain to the `+spammers' mailbox by default. Also see the
fcc-save-hook command.
</snip>

So I think he wants to have some lines like this:

fcc-hook charlotte +charlotte
fcc-hook work.com +workmail

in his .muttrc (or corresponding) file.


Fellow mutt user,
-- 
Katie Bechtold
http://katie-and-rob.org/




More information about the Techtalk mailing list