Gnus development mailing list
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@inf.enst.fr>
Cc: ding@ifi.uio.no
Subject: Re: feature request for Bcc
Date: 07 Nov 1996 12:54:25 +0100	[thread overview]
Message-ID: <qw6k9rynmry.fsf@gargantua.enst.fr> (raw)
In-Reply-To: Michael Grubb's message of 06 Nov 1996 17:51:51 -0500

>>>>> "Michael" == Michael Grubb <mg@duke.edu> writes:

Michael> Just a thought.  Or maybe there's already a way to do this?

Here is how I do it: my `sendmail-program' variable is set to
"~/etc/dgnus.rc", which is a procmail script which contains (amongst
others) the following lines:

#!/usr/local/bin/procmail -m
[...]
:0c
* ^Bcc:
        {
        HFROM = `formail -XFrom:`
        HTO = `formail -XTo:`
        HSUB = `formail -zxSubject:`
        HCC = `formail -XCc:`
        HNEWS = `formail -XNewsgroups:`
        HDIS = `formail -XDistribution:`
        HFOL = `formail -XFollowup-To:`
        HREP = `formail -XReply-To:`

        :0bfw
        | echo; echo "---Blind Carbon Copy---"; echo; \
          if [ "x$HFROM" != "x" ] ; then echo $HFROM; fi; \
          if [ "x$HTO" != "x" ] ; then echo $HTO; fi; \
          if [ "x$HSUB" != "x" ] ; then echo "Subject:$HSUB"; fi; \
          if [ "x$HCC" != "x" ] ; then echo $HCC; fi; \
          if [ "x$HNEWS" != "x" ] ; then echo $HNEWS; fi; \
          if [ "x$HFOL" != "x" ] ; then echo $HFOL; fi; \
          if [ "x$HDIS" != "x" ] ; then echo $HDIS; fi; \
          if [ "x$HREP" != "x" ] ; then echo $HREP; fi; \
          echo; \
          cat; \
          echo "---End of Blind Carbon Copy---"; echo; echo

        :0
        | formail -Y -I"To: Blind recipients <sam@inf.enst.fr>" \
                -ICc: -IMessage-Id: \
                -I"X-Bcc-Trash: yes" \
                -I"Subject: [BCC] $HSUB" -aMessage-Id: | \
          $SENDMAIL -t
        }
[...]

This is IMHO a good thing to send Bcc: mail differently, because the
hidden recipient cannot followup by mistake and answer everyone !

  Sam
-- 
"La cervelle des petits enfants, ca doit avoir comme un petit gout de noisette"
                                                       Charles Baudelaire


  reply	other threads:[~1996-11-07 11:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-06 22:51 Michael Grubb
1996-11-07 11:54 ` Samuel Tardieu [this message]
1996-11-08  1:37 ` Lars Magne Ingebrigtsen
1996-11-07  9:06   ` Kai Grossjohann
1996-11-07  9:21     ` Lars Balker Rasmussen
1996-11-07 16:29   ` Eric Hendrickson
1996-11-06 23:32 Katsumi Yamaoka
1996-11-07  1:06 ` Michael Grubb

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=qw6k9rynmry.fsf@gargantua.enst.fr \
    --to=sam@inf.enst.fr \
    --cc=ding@ifi.uio.no \
    /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).