Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: filing sent emails
       [not found] <e07b5604.0206290810.381348d2@posting.google.com>
@ 2002-07-01 14:49 ` Kai Großjohann
  2002-07-01 18:31   ` Adrian Kubala
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Großjohann @ 2002-07-01 14:49 UTC (permalink / raw)


kubalaa@bigfoot.com (Adrian Kubala) writes:

> I would like my filing scheme to work like this:
>
> - When I reply to an email, the reply is filed in the same group the
> original email was in, except for replies in certain groups, in which
> case the email is filed according to the "split" configuration.

For the groups where you want the reply to go into the same group,
set the `gcc-self' group parameter.  (Hit `G c' on the group name in
the Group buffer.)

The easiest way to file a message according to the split configuration
is to Bcc it to yourself.  See the variable mail-self-blind.  The
second-easiest way is to Fcc it into a file which is added to
mail-sources.

> - New outgoing emails are filed according to the "split"
> configuration.

See the Bcc/Fcc comment above.

> - I'd also like the identity used to reflect where the email would be
> filed. For example, if I send a new email to my boss, it should use
> the identity used for the "mail.work" group and also file the email
> there.

Whee.  Hm.  Holger Schauer's header-action.el might help, or maybe
gnus-pers.el.  Posting Styles are probably not the solution, since
they are applied when the message is constructed.  But at that time,
the To/Cc header isn't filled out yet.

> - Outgoing posts are archived in the nnfolder "archive" server, in the
> same group they were posted to.

You need to arrange to set the Gcc header right.  Hm.  It might be
easiest to just set the `gcc-self' parameter to a string, containing
the right group name (eg, "nnfolder+archive:mumblefrotz").

> - Emails (outgoing and incoming) are expired to the archive server
> when they are expired, to the same group.

Hm.  In principle, it's sufficient to set the expiry-target
parameters correctly for all groups.

> This sounds pretty conceptually straightforward, but looking at the
> docs it looks like it'll be terribly ugly to do (except for the last
> two). Particularly, I'm mystified as to how outgoing emails can be
> matched up to groups. And how to use "the same group but on a
> different server" -- in this case the archive server. Does anyone
> already have something like this implemented? Any .gnus files which
> could get me started? Thanks!

It is easy if you set the parameters manually for each group.  To set
the parameters automatically for all groups, that might not be so
easy.  Hm.  I wonder if it is possible to eval Lisp forms in
gnus-parameters?  Does anyone know?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)


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

* Re: filing sent emails
  2002-07-01 14:49 ` filing sent emails Kai Großjohann
@ 2002-07-01 18:31   ` Adrian Kubala
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Kubala @ 2002-07-01 18:31 UTC (permalink / raw)


Kai  Gro?johann <Kai.Grossjohann@cs.uni-dortmund.de> wrote:
> Posting Styles are probably not the solution, since they are applied when
> the message is constructed.  But at that time, the To/Cc header isn't filled
> out yet.

Then I'm curious what this rule, from the info page on posting styles, does:
     (header "From.*To" "larsi.*org"
		   (Organization "Somewhere, Inc."))

I guess this looks at the message you're replying to, right? So a good
question is, when you send an email from no group at all, not replying to
anything, are posting styles checked at all? How does this work?

Mutt always asks for the subject and addressee before creating the new
message, precisely so you can do stuff like this. Maybe useful to have in
gnus?

>> And how to use "the same group but on a different server" -- in this case
>> the archive server.
> It is easy if you set the parameters manually for each group.  To set the
> parameters automatically for all groups, that might not be so easy.

Figured it out -- I don't have the code handy, but it uses
gnus-group-real-name.

-Adrian


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

end of thread, other threads:[~2002-07-01 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <e07b5604.0206290810.381348d2@posting.google.com>
2002-07-01 14:49 ` filing sent emails Kai Großjohann
2002-07-01 18:31   ` Adrian Kubala

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