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

Re: Procmail



Daniel, first of all I would recommend 
read output from  
man procmail,man procmailrc, man procmailex

I an also show my .procmailrc file
that is made after examples from the manual

==========================================

:0 c
backup

:0 ci
| cd backup && rm -f dummy `ls -t | sed -e 1,50d`


:0:
* ^Sender:.*ksi-linux@ksi-linux.com
Mail/ksi-linux-mail

:0:
* ^X-Mailing-List: .*@lists.debian.org
Mail/debian-lists

:0:
* ^From:.*ihatehim@hell.com
/dev/null


==========================================

backup is existing directory
others are files or directories as you wish


> 
> Anyone knows where to get info or a howto for procmail?
> I am specially interested in the organization for incoming mail into
> separate folders since Netscape filters wont work right for me and I
> have tried everything to make them work right!
> 
> Thanks
> 
> Daniel
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 


Reply to: