Re: mutt questions
Mark Wagnon [mwagnon1@home.com] wrote:
> I've never saved my out-going email while I've used mutt (most of my
> posts are to mailing lists and usenet, so I can always get a copy
> when I need one), but this thread had inspired me to try to get a
> default folder set up for out-going email. I've tried
>
> save-hook '~A' your-default-folder
> save-hook mutt +mutt.`date "+%m%y"`
>
> but they don't seem to do anything. Searching the mutt mailing list
> gave a bunch of articles where people wanted to use save-hook to do
> procmail's job, but no really decent (for me at least, I'm dense.)
> examples on getting this going.
In that case, I think this is what you need:
### record
### Type: string
### Default: none
### This specifies the file into which your outgoing messages should be
### appended. (This is meant as the primary method for saving a copy of your
### messages, but another way to do this is using the my_hdr command to
### create a Bcc: field with your email address in it.)
### The value of $record is overridden by the $force_name and $save_name
### variables, and the fcc-hook command.
set record="~/mail/sent-mail"
I have also written a script which will backup the sent-mail
folder monthly just like pine. Mail me if you needed.
Cheers,
Shao.
>
> All I'd like to do is to make sure that any email I compose is saved
> to ~/Mail/sent-mail. The date thing above seems pretty cool (kind of
> like pine), but I'd settle for just one file right now. Is this
> process automatic, or do I need to do something to save a message?
> >From my understanding of the save-hook info in the mutt manual,
> save-hook works on a regular expression in the From: or To: headers
> (I guess depending on whether it's incoming or outgoing).
>
> I'm assuming you guys save email you've composed to a file too,
> right?
>
> Any insight will be greatly appreciated.
> --
> ( __ _
> Mark Wagnon ) Debian GNU/ -o) / / (_)__ __ ____ __
> Chula Vista, CA ( /\\/ /__/ / _ \/ // /\ \/ /
> mwagnon1@home.com ) www.debian.org _\_v____/_/_//_/\_,_/ /_/\_\
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: