Gnus development mailing list
 help / color / mirror / Atom feed
From: Sudish Joseph <sudish@mindspring.com>
Cc: "Randal L. Schwartz" <merlyn@stonehenge.com>
Subject: Re: how do I fcc: a nnml folder?  and what is gcc? (gnus 5.3)
Date: 04 Sep 1996 23:43:53 -0400	[thread overview]
Message-ID: <m291ap8w3q.fsf@atreides.erehwon.org> (raw)
In-Reply-To: Raja R Harinath's message of 04 Sep 1996 20:01:29 -0500

Raja R Harinath <harinath@cs.umn.edu> writes:
> Steven L Baur <steve@miranova.com> writes:
>> What I do is let Gnus process Fcc's as if they were incoming
>> messages.  Put a line like:
>> Fcc: ~/spool/sent.spool

> It's useful, but not safe.  

(push "~/spool/sent.not-nnml-procmail-suffix" nnmail-spool-file)

in conjunction with a fixed Fcc to the same file will do the job
safely, with or w/o procmail.  This is assuming that headers in
outgoing mail contain sufficient info to let you split them
correctly...this is usually true.

[ good stuff on procmail locking deleted ]

> You can craft a lock aware `message-fcc-handler-function', that uses the
> lockfile(1) program that comes with procmail (Also, such a handler
> function won't cause harm on non spool folders either.)  Only then is it
> safe to Fcc: to a mail spool.

The problem with this is the handler runs synchronously...you do not
want to wait for the procmail process running on the way overloaded
mail hub to deliver to the heavily banged upon spool partition and
relinquish the lock under your (possibly NFS-mounted on the mailhub,
eww) $HOME for every message you send.

An asynch variation is to just hand a copy of the message to a
procmail sub-process from the fcc handler.  However, since this
assumes that the message contains sufficient info in the headers to be
split appropriately, it is entirely equivalent to using "Bcc: me" and
loses for the same reasons; using nnmail-spool-file with a fixed Fcc
is better for the same assumptions.

-Sudish "managed not to rant on true asynch delivery, yay" Joseph

PS: How about renaming it to nnmail-spool-files, like vm-spool-files?
Backward compatibility is easy enough.


  reply	other threads:[~1996-09-05  3:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-04 14:33 Randal L. Schwartz
1996-09-04 19:20 ` David S. Goldberg
1996-09-04 23:27 ` Steven L Baur
1996-09-05  1:01   ` Raja R Harinath
1996-09-05  3:43     ` Sudish Joseph [this message]
1996-09-05 15:41       ` Lars Magne Ingebrigtsen
1996-09-05  5:23 ` Lars Magne Ingebrigtsen

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=m291ap8w3q.fsf@atreides.erehwon.org \
    --to=sudish@mindspring.com \
    --cc=merlyn@stonehenge.com \
    /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).