Re: procmail

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

 



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





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux