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

Re: procmail rule to filter debian-user



Andrei Popescu <andreimpopescu@gmail.com>:
>  On Wed, 24 Sep 2008 08:05:02 +0100 Bob Cox wrote:
> 
> > How about:
> > 
> > :0 :
> > * ^TO_debian-user@lists\.debian\.org
> > /home/bijan/Maildir/.lists.debian/
> > 
> > Something very similar works for me (but not using maildir format,
> > hence no trailing slash).
> 
>  Isn't this going to miss all those posts that are Cc'd to debian-user?
>  (I have no idea of procmail rules, I prefer maildrop)

"^TO_" is a procmail macro == (man procmailrc):

  `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-
       Z0-9_.])?)', which should catch all destination specifications
       containing a specific address. 


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.


Reply to: