[vox-tech] Need Procmail rule

Harry S vox-tech@lists.lugod.org
Sat, 15 Feb 2003 00:11:45 -0800


On Fri, Feb 14, 2003 at 11:13:46PM -0500, msimons@moria.simons-clan.com wrote:
> On Fri, Feb 14, 2003 at 07:48:34PM -0800, Harry S wrote:
> > I will be traveling about in a couple of weeks. While I'm away I'd like
> > to download my email, but do not want to download large emails.
> > 
> > Anyone have a quick procmail rule for filtering large emails to a folder
> > for later reading?
> 
> I think the following will do what you want,
> if file size is larger than 8192 bytes, save it to big_crap...
> 
> ======
> :0
> > 8192
> big_crap
> 
> ======

Thanks mike. I ended up using:
:0fw:
* > 4000
BIGMAIL

I probably didn't need the 'f' or 'w' or second colon. I'll have to
review the procmail rules when I have more time.

I thought the procmail rule would be much more complicated than it was.