[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: store sent mail and incoming mail in one group?
From: |
Xiao-Yong Jin |
Subject: |
Re: store sent mail and incoming mail in one group? |
Date: |
20 Jul 2005 08:20:20 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
David Z Maze <dmaze@mit.edu> writes:
> Xiao-Yong Jin <xj2106@columbia.edu> writes:
>
> > Somehow, I want my mail group to be managed more or less like the way
> > news groups do. That is I can see my mails in sort of subject in one
> > group where both my incoming mails and sent-out mails are listed.
> >
> > Does it mean what I only need is to put the sent mails in the same
> > group with my incoming mail? And how?
>
> I always bcc mail to myself:
>
> (require 'message)
> (setq message-required-mail-headers
> (nconc message-required-mail-headers
> (list '(Bcc . "dmaze@mit.edu"))))
>
> And then sort mail using nnmail-split-fancy with "any" tags:
>
> (setq nnmail-split-fancy
> `(|
> (: spam-split)
> (any mail "mail.misc.admin")
> (& ; mailing lists
> (to "ding@gnus\\.org" "mail.lists.gnus.ding")
> ; ...
> )
> (& ; personal mail
> (any "friend@example\\.org" "mail.people.example.friend")
> ; ...
> )
> (any "dmaze@.*mit\\.edu" "mail.misc.personal")
> "mail.misc.impersonal")
> nnmail-split-methods 'nnmail-split-fancy)
It will be tricky to put my sent mails in group to which my mail
replies.
>
> Other people seem to like using Gnus' message-archive feature and
> inserting Gcc: headers in outgoing mail to archive in particlar
> groups; see info://gnus/Archived+Messages for details on how this
> works.
>
> --dzm