procmail
Tim Currie
tim at algernonsystems.com
Sun Jan 4 15:25:40 UTC 2004
Chris 'Chipper' Chiapusio wrote:
>Tim,
>
>Thanks for this documentation, it's something I've wanted to figure out
>but haven't had the time to dig into (using cyrus and procmail together).
>
>In return I will offer procmail recipe advice for mailing lists.
>
>try to avoid using TO or FROM for mailing list recipes because you will
>not properly filter messages cross posted to two lists that you subscribe
>to. In addition, I archive my mailing lists into monthly folders for easy
>grep searches.
>
>You will want to cyrus-ize these for your use as they are mbox-centric
>right now.
>
>#Directory for storing procmail log and rc files
>FOLDERDATE=`date +\%b\%Y`
>FOLDERYEAR=`date +\%Y`
>DUMMY='test -d .SM/$FOLDERYEAR || mkdir .SM/$FOLDERYEAR'
>
>:0H
>* ^List-Id:.*fedora-list.redhat.com
>{
> :0c
> .SM/${FOLDERYEAR}/fedora-list.${FOLDERDATE}
>
> :0
> IN.fedora-list
>}
>
>:0H
>* ^List-Id:.*fedora-announce-list.redhat.com
>{
> :0c
> .SM/${FOLDERYEAR}/fedora-announce-list.${FOLDERDATE}
>
> :0
> $DEFAULT
>}
>
>
>Chipper
>
>
>
>On Sat, 3 Jan 2004, Tim Currie wrote:
>
>
>
>>ok... I'm using postfix, not sendmail. Here's what i did:
>>In /etc/postfix/master.cf I added
>>
>>procmail unix - n n - - pipe
>> flags=R user=cyrus argv=/usr/bin/procmail -t -m USER=${user}
>>EXTENSION=${extension} /etc/procmailrc
>>
>>
>>
>
>------
> Please encrypt anything important.
> PGP Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x6CFA486D
>"They that can give up essential liberty to obtain a little
> temporary safety deserve neither liberty nor safety " - Benjamin Franklin
>
>
>
>--
>fedora-list mailing list
>fedora-list at redhat.com
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
>
Thanks! I had just copy-pasted my recipes from a FAQ I found; the recipe
syntax is stil indistinguishable from Sanskrit (or sendmail, for a more
venue-appropriate metaphor) for me, so this will give me a chance to
experiment with it.
Thanks again,
-Tim
--
Proprietary software is like petrified wood. It used to be alive, but
then it was fixed in time and put in a box. GNU/Linux software, in
contrast, is alive, always changing and improving. I love that it's
more a process than a product. - Pamela Jones, Groklaw
More information about the fedora-list
mailing list