From owner-freebsd-questions@FreeBSD.ORG Wed Oct 31 06:04:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85FF616A469 for ; Wed, 31 Oct 2007 06:04:56 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 2BBDE13C4C3 for ; Wed, 31 Oct 2007 06:04:55 +0000 (UTC) (envelope-from jackbarnett@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so40340wxd for ; Tue, 30 Oct 2007 23:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=3sqo82ey0dCwerEkDOnDTb27DBBqvYCqZwHCAUP2CGE=; b=g2sKTbWxFL6tMBhDvWa1U4/HJTkhusOQicjzFnt3XUB+7KrGCa+/fKqsTfr2Xf4UNNhhyci+wFcPlXdP9rx3pVb8OMDZGZALPYx3qi6lBIe63Izv4veqoAEnHt9dOHRB/sryAdpYCA5g41onS2vWoWojNBCyxN5uHxNMH/XtPpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=oGwtPTr7KxBBJQJOorWpC6LaR6azdojoYvRHU2HJtc5YyShnyQ0QZclzyyoxiE+X0zgjAtemNLsFr2omo8ZkrM9uQn4dO9L2QAfhcRamxSJVIiftPBOj63uHpGn5C8wty5fzHC4VANyE8x2Jtth+w0XbcNm5qeDtHmMRhsXIeL4= Received: by 10.90.90.16 with SMTP id n16mr6234571agb.1193807118237; Tue, 30 Oct 2007 22:05:18 -0700 (PDT) Received: from ?192.168.17.10? ( [67.190.229.42]) by mx.google.com with ESMTPS id 7sm109430wrh.2007.10.30.22.05.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Oct 2007 22:05:16 -0700 (PDT) Message-ID: <47280D0A.2050404@gmail.com> Date: Wed, 31 Oct 2007 00:05:14 -0500 From: Jack Barnett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: jackbarnett@gmail.com References: <47280561.4020803@gmail.com> In-Reply-To: <47280561.4020803@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Freebsd questions Subject: Re: Procmail/processing question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jackbarnett@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 06:04:56 -0000 Jack Barnett wrote: > > Procmail is working, but during a system upgrade I basically broke it > for a bit. > > While it was down, all the mail was being collected in > /var/mail/[username] > > Normally, it processes incoming mail and puts it in > /home/[username]/Maildir/XYZ (this is what courier imap is using). > > It is working and processing mail as normal; but the problem is that > /var/mail/[username] has collected tons of mail that needs to be > "processed" via procmail. > Is there a way I can pipe all this mail into procmail so that it'll be > "processed" like normal. > > I'm thinking something like "cat /var/mail/[username] | procmail > -SomeFancyOption" > > thoughts? > > > disregard, I figured it out. there is a program called 'formail' (format mail) cat /var/mail/[username] | formail -s procmail :)