[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: formail help



On Wed, Mar 05, 2003 at 11:23:36PM +0100, Attila Csosz wrote:
> Hi,
> 
> Which fields should I place at least to this list to get correct 
> mailbox? I use the followings but I've got an error message in mutt 
> "this is not a correct mailbox" (or similar)
> 
> 
> in my .procmailrc
> 
> :0
> *
> | formail -k X From: -X Subject: >> inbox

You don't need formail for this at all...
Simple ~/.procmailrc which will filter d-u to a specific mailbox:
================================================================================
# Mail will get dumped here if it doesn't match any other rules
DEFAULT=$MAILDIR/inbox/

:0:
* ^X-Mailing-List.*<debian-user@lists.debian.org>
lists/debian/debian-user/
================================================================================

All done.  And it won't screw up when people BCC the list or whatever
someone was complaing about last week

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpd1PUo2k0GI.pgp
Description: PGP signature


Reply to: