procmail
[Top] [All Lists]

Re: Picking Off Sender's Address

1997-06-30 15:51:00
    In reference to my wanting to "turn around" an incoming mail 
and reflect to to all members of a group.

On Mon, 30 Jun 1997, era eriksson wrote (small excerpt):

 > a list of permissible addresses;  3) If it is, I need to generate a
 > mail with all members of the permissible list Bcc'ed; 4) It would be

I would guess that you could just as well feed the message to 
! `cat $USERLIST`  and the effect will be the same as if you had
BCC:ed it to all those people. 

    This is something that was never clear to me from man procmailrc(5)
as to how ! as a "delivery" works.  I first thought about doing exactly
as era suggested with ! `cat $USERLIST`.  However, I was afraid that
everybody's copy would get everybody else's address stacked up in the
received To: header.  That is clumsy, and some people find it
irritating.

    That's why I was going through all the -I "Bcc:" `cat $USERLIST`
business with formail.  (I was going to use ! $MY_ADDR, because some
MTAs play funny games with Bcc: if To: is completely blank.)  If ! does
not pile up everybody's address in everybody's copy, that would be the
way to go, but I never understood the man page (v3.10) that way.

Paul                             <pobart(_at_)access(_dot_)digex(_dot_)net>
----------------------------------------------------------
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key
Home Page:  http://www.access.digex.net/~pobart