From owner-freebsd-questions Wed Apr 11 7: 1:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id 988FB37B42C for ; Wed, 11 Apr 2001 07:01:40 -0700 (PDT) (envelope-from lucas@slb.to) Received: (qmail 17407 invoked by uid 1000); 11 Apr 2001 14:02:01 -0000 Date: Wed, 11 Apr 2001 09:02:01 -0500 From: Lucas Bergman To: Intuitive Design Archive Cc: freebsd-questions@freebsd.org Subject: Re: procmail and formail Q's? Message-ID: <20010411090201.A5005@billygoat.slb.to> Reply-To: lucas@slb.to References: <069001c0c1bf$ff8c4130$9604a8c0@2000sunday> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from archive@www.in-design.com on Tue, Apr 10, 2001 at 10:08:48PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In-Reply-To: ... Please don't send mail to the list by replying to an unrelated question. It confuses people with threading mail readers. > Is there anyway with formail and procmail to take a mailbox and > resend the mail in it. Yes. > I know I need to use > > formail -s procmail redirect.rc < mailbox.test Maybe. Procmail probably doesn't need to be involved if you want to do the same thing to every message. > but in the redirect what should I have. I am very new to procmail, and > would really appreciate the guidance. > > I am thinking of something lik > > :0 > * ^TO_"$SENDER_ADDRESS" > ! "$SENDER_ADDRESS" This confuses me about your intention. What are you trying to do? Send each message again to its original recipient? Send each message back to the sender? Send a form letter to the recipient of each message? Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message