procmail
[Top] [All Lists]

forwarding to all member included in file except sender

2001-08-15 08:01:37
Hi All there

what i exactly want is to sent bulk mail without usage
of alias file of sendmail

###########my .procmailrc ##########along with other
variables which are  not mentioned over
here################


TOADR=`formail -zx"To:"`
FRMADR=`formail -zx"From:"`
GFILE=/www/web1/mails/$TOADR


######################################up til over here
it is correct#############

there are number of $GFILE placed under path 

                /www/web1/mails/  

depending on To: part of mail address 

respective $GFILE will be taken into consideration and
which will be having static mail addresses as

                1(_at_)abc(_dot_)com
                a(_at_)xyz(_dot_)com
                z(_at_)uvw(_dot_)com


out of any of the above one mail address will be in
"FROM:" part of the mail

hence want to forward mails to all members except the
mailaddress covered in "From:" part of the mail

e.g.

IF above explanation is too complicated here it is,
practically

say i am mailing as

 To:  guys(_at_)group(_dot_)com   (name of one the $GFILE )
 From: 1(_at_)abc(_dot_)com        ( one the mail member under
/www/web1/mails/$GFILE)
 Subject: message from 1(_at_)abc(_dot_)com
 
 Message: this message should be forwarded to all
members
          of /www/web1/mails/guys(_at_)group(_dot_)com except to
1(_at_)abc(_dot_)com
          as he is the sender
          

thanks
niraj          

 
   sending 






__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • forwarding to all member included in file except sender, niraj dave <=