Gnus development mailing list
 help / color / mirror / Atom feed
* Re: Splitting outgoing mail, possible?
       [not found] <wtnd7ghovto.fsf@licia.dtek.chalmers.se>
  2000-10-31 16:19 ` Splitting outgoing mail, possible? Kai Großjohann
@ 2000-10-31 17:07 ` David Z. Maze
       [not found]   ` <wtnofzzx5ez.fsf@licia.dtek.chalmers.se>
  1 sibling, 1 reply; 4+ messages in thread
From: David Z. Maze @ 2000-10-31 17:07 UTC (permalink / raw)


Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
JS> What I was looking for is quite clearly stated in the subject; can I
JS> get Gnus to send the outgoing mail through the splitting engine? I
JS> could add a Cc:-line but I don't find that solution to be very
JS> pretty. Sounds like a kludge to me. Any ideas?

I have, among other things, the following in my Gnus setup:

(setq message-required-mail-headers
      (nconc message-required-mail-headers
	     (list '(Bcc . user-mail-address))
	     (list '(X-Attribution . "DZM"))))

This way, all outgoing mail gets Bcc'd to myself.  This means that
Gnus sees outgoing messages as incoming, too, and gets magically
sorted into the correct groups.  Plus, since it's a Bcc and not a
normal Cc, there's not ugly extra mail headers floating around.  If I
actually want a normal Bcc then I need to remember to add myself in,
but this only happens rarely.

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Splitting outgoing mail, possible?
       [not found]   ` <wtnofzzx5ez.fsf@licia.dtek.chalmers.se>
@ 2000-11-01 12:26     ` Kai Großjohann
  2000-11-01 13:23     ` David Z Maze
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2000-11-01 12:26 UTC (permalink / raw)


Maybe (add-to-list 'message-required-news-headers (cons 'Gcc
user-mail-address)) does the trick?

kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Splitting outgoing mail, possible?
       [not found]   ` <wtnofzzx5ez.fsf@licia.dtek.chalmers.se>
  2000-11-01 12:26     ` Kai Großjohann
@ 2000-11-01 13:23     ` David Z Maze
  1 sibling, 0 replies; 4+ messages in thread
From: David Z Maze @ 2000-11-01 13:23 UTC (permalink / raw)


Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
JS> "David Z. Maze" <dmaze@MIT.EDU> writes:
 DZM> Jonas Steverud <d4jonas@dtek.chalmers.se> writes:
  JS> What I was looking for is quite clearly stated in the subject; can I
  JS> get Gnus to send the outgoing mail through the splitting engine? I
  JS> could add a Cc:-line but I don't find that solution to be very
  JS> pretty. Sounds like a kludge to me. Any ideas?
 DZM> 
 DZM> I have, among other things, the following in my Gnus setup:
 DZM> 
 DZM> (setq message-required-mail-headers
 DZM>       (nconc message-required-mail-headers
 DZM>              (list '(Bcc . user-mail-address))
 DZM>              (list '(X-Attribution . "DZM"))))
JS> 
JS> What version of Gnus does you run? I use 5.8.7 and Bcc is not
JS> generated. If I have (list '(X-Attribution . "JSD")) the header is
JS> added but if I have (list '(X-Attribution . user-mail-address)) it is
JS> not added. Bug or feature?
JS> 
JS> BTW, what is X-Attribution used for?

Hmm, I use Gnus 5.8.7 and this all works fine for me.  Note that there 
are two things added to message-required-mail-headers, a Bcc entry and 
an X-Attribution entry.  It also might be worth noting that I set
these up in an init file that gets read before I start Gnus; not sure
if this is actually important.  Also, the 'list' calls seem a little
redundant at this point, but I probably wrote that in a more
Scheme-happy day.

X-Attribution is used by Supercite.  If it's present in a message
being replied to, its contents are used as the default citation.  (One 
of these days, I'll dive in and fix Supercite to DWIW...)

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Splitting outgoing mail, possible?
       [not found] <wtnd7ghovto.fsf@licia.dtek.chalmers.se>
@ 2000-10-31 16:19 ` Kai Großjohann
  2000-10-31 17:07 ` David Z. Maze
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2000-10-31 16:19 UTC (permalink / raw)


There is a package called header-action.el which lets you specify
things to do when hitting C-c C-c based on various header values.
kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-01 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <wtnd7ghovto.fsf@licia.dtek.chalmers.se>
2000-10-31 16:19 ` Splitting outgoing mail, possible? Kai Großjohann
2000-10-31 17:07 ` David Z. Maze
     [not found]   ` <wtnofzzx5ez.fsf@licia.dtek.chalmers.se>
2000-11-01 12:26     ` Kai Großjohann
2000-11-01 13:23     ` David Z Maze

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).