Date: Wed, 31 Oct 2007 00:05:14 -0500 From: Jack Barnett <jackbarnett@gmail.com> To: jackbarnett@gmail.com Cc: Freebsd questions <freebsd-questions@freebsd.org> Subject: Re: Procmail/processing question Message-ID: <47280D0A.2050404@gmail.com> In-Reply-To: <47280561.4020803@gmail.com> References: <47280561.4020803@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47280D0A.2050404>