Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: David Z Maze <dmaze@mit.edu>
Subject: Re: store sent mail and incoming mail in one group?
Date: Mon, 18 Jul 2005 12:16:28 -0400	[thread overview]
Message-ID: <y68wtnoks2r.fsf@mass-toolpike.mit.edu> (raw)
In-Reply-To: <871x5wvgn9.fsf@tux.edennetwork>

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)

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


  reply	other threads:[~2005-07-18 16:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18  5:15 Xiao-Yong Jin
2005-07-18 16:16 ` David Z Maze [this message]
2005-07-20 12:20   ` Xiao-Yong Jin
2005-07-20 16:35     ` Ted Zlatanov
2005-07-22 15:37       ` Xiao-Yong Jin
2005-07-18 19:47 ` Jason Dufair
2005-07-20 11:44   ` Xiao-Yong Jin
2005-07-19  2:58 ` Steven Woody
2005-07-19 20:22 ` Andrew Raines
2005-07-20  8:33   ` Xiao-Yong Jin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y68wtnoks2r.fsf@mass-toolpike.mit.edu \
    --to=dmaze@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).