procmail
[Top] [All Lists]

Re: Nesting block: deliver to folder AND inbox?

2008-12-12 11:27:24
On Fri, 12 Dec 2008, LuKreme wrote:

L> On 12-Dec-2008, at 08:23, Brett Charbeneau wrote:
L> > :0
L> > * ^List-Id:.*BROWN Alumni
L> > {
L> >       :0
L> >       IN.Brown-Alumni
L> 
L> This looks like a maildir, so you would need a / at the end.  You also need a
L> c flag, but there are obviously other issues.
L> 
L> You need to put a verbose=ON before that block, make sure log is pointing at
L> something, and post that output.

        I appreciate the response!
        For posterity's sake

:0
* ^List-Id:.*BROWN Alumni
{
        :0c
        IN.Brown-Alumni

        :0
        /var/mail/brett
}


        does the trick. I was testing by sending messages from another account 
which, unsurprisingly, did NOT have the "List-Id:" line in the header so of 
course they didn't match. Turning on verbose revealed this to me.
        Doh!
        MANY thanks to all those who responded!


-- 
********************************************************************
Brett Charbeneau, GSEC Gold, GCIH Gold
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
Williamsburg, VA 23188-7064
(757)259-4044          www.wrl.org
(757)259-4079 (fax)    brett(_at_)wrl(_dot_)org
********************************************************************

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>