<<< Date Index >>>     <<< Thread Index >>>

Re: Saving outgoing messages.



On 2005-07-07 12:42:24, Kumar Appaiah wrote:
> Mutt users,
> I wish to save a copy of all my outgoing messages in a mailbox called
> ``newbox'', which resides in ~/Mail. Now, I added set record=+newbox
> in my .muttrc, and wrote a message. When I get to the post-composition
> stage, Fcc: shows =newbox. However, when I say `y', the copy is not
> appended to newbox.
> 
> However, on that screen, if I just edit the Fcc: field (just say `f'
> and then enter, no changes made), it gets appended to newbox just as I
> want it to.
> 
> The same goes with fcc-hook. It doesn't put messages in newbox.
> 
> What mistake am I making here?

Have you set the variables for your Mailfolder ??
My muttrc contains

set mbox = "~/Maildir/"
set mbox_type = Maildir

set folder = "~/Maildir/"
set spoolfile= "~/Maildir/"

set record = "+.Sent"
set postponed = "+.Drafts"

and it works.

Important is, that the $folder Variable is set to your Maildir (that is
in your case ~/Mail )

 folder

 Type: path
 Default: "~/Mail"

 Specifies the default location of your mailboxes. A `+' or `=' at the
 beginning of a pathname will be expanded to the value of this variable.
 Note that if you change this variable from the default value you need
 to make sure that the assignment occurs before you use `+' or `=' for
 any other variables since expansion takes place during the `set'
 command. 

-- 
mfg, Heino Erps
Megabit Informationstechnik GmbH