On Sun, Sep 23, 2001 at 12:16:42PM -0400 or thereabouts, Stefan Antoni wrote:
> I am a one-week-newbie in using mutt and i want to
> save my outgoing mail in an outbox like i can do
> it with KMail and other known email-clients.
> 
> How do i create such an outbox and tell mutt to dump
> outgoing mail automatically into it.
> 
> finally, i'd like to have something like that in my
> /home/myname :
> 
> mbox.in  <-- already created for incomming mail.
> mbox.out <-- the mailbox for outgoing mail.
> 
for mbox.out you need to set the record variable in ~/.muttrc like
this:

set record="~/Mail/mbox.out"

while incoming mails can be taken care of by procmail regardless of
mta you are using:

MAILDIR="/home/rino/Mail"
DEFAULT=$MAILDIR/mbox.in

:0
* ^Return-path:.*mutt-users.*@mutt\.org
* $DEFAULT

there are many things you can do with procmail such as keeping
separate mailboxes for incoming mails depending on which they came
from.  my original recipe is like this:

MAILDIR="/home/rino/Mail"
# this one stores my mail in ~/Mail so that i don't have to create a symlink
# from "/var/mail/<user>"

DEFAULT=$MAILDIR/inbox/
# i use a Maildir type mailbox that's why i have a trailing "/"

:0
* ^Return-path:.*debian-user.*@lists\.debian\.org
* $MAILDIR/debian-user/

:0
* ^Return-path:.*mutt-users.*@mutt\.org
* $MAILDIR/mutt-users/

hth.

-- 
"GUIs normally make it simple to accomplish simple actions and impossible
to accomplish complex actions."   --Doug Gwyn  (22/Jun/91 in comp.unix.wizards)

PGP signature

Reply via email to