I don't know what "cyrus" is. My 'yum search cyrus' didn't return anything mail related. If you want to do simple procmail filtering using postfix, from a stock Fedora install, you need to first install postfix and disable sendmail: # yum install postfix # yum install procmail # checkconfig sendmail off # checkconfig postfix on # service sendmail stop # service postfix start Make sure the following line is uncommented in /etc/postfix/main.cf: mailbox_command = /usr/bin/procmail Reload Postfix's configuration: # service postfix reload Create a file in your home directory called ~/.procmailrc Here's the start of mine: # --------------------------------------------------------------- # Environment # --------------------------------------------------------------- PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin MAILDIR=$HOME/mail # make sure it exists DEFAULT=$MAILDIR/inbox # completely optional LOGFILE=$MAILDIR/procmail.log # recommended LOCKFILE=$MAILDIR/.proclock # --------------------------------------------------------------- # If things are messed up really badly you can always set VERBOSE=no # --------------------------------------------------------------- # --------------------------------------------------------------- # SUBJECT's # --------------------------------------------------------------- :0 * ^SUBJECT*****SPAM***** junk # --------------------------------------------------------------- # FROM's # --------------------------------------------------------------- :0 * ^FROM.Norton_AntiVirus junk # --------------------------------------------------------------- # TO's # --------------------------------------------------------------- :0 * ^TOowner- majordomo Now, for example, mail with *****SPAM***** in the subject will go in ~/mail/junk. Good luck. On Sat, Jan 03, 2004 at 04:43:59PM -0500, Tim Currie wrote: > charles norwood wrote: > > >On Sat, 2004-01-03 at 12:56, Tim Currie wrote: > > > > > >>Well, there's one good thing about the flood of messages this list gets: > >>it convinced my to get off my lazy arse and get postfix/procmail/cyrus > >>working so I don't have to sort by hand! :) > >> > >> > >> > >O.K. Tell us how you did it. Are you using sendmail? If so, how is > >sendmail configured to work with cyrus and procmail? > >Chuck > > > > > > > > > >-- > >fedora-list mailing list > >fedora-list@xxxxxxxxxx > >To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list > > > > > > > > > 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 > > Then in /etc/postfix/main.cf I un-commented > > mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" > > and changed > > mailbox_transport = lmtp:unix:/file/name > > to > > mailbox_transport = procmail > > Then I created /etc/procmailrc thus: > > ### > # > # Master Procmail Recipe for Postfix > Procmail > Cyrus > # > ### > DELIVERTO="/usr/cyrus/bin/deliver" > USERINBOX="$DELIVERTO -e -a $USER -m user.$USER" > > # > # OPTIONAL: Include users' own .procmail recipe files > # > INCLUDERC=/home/$USER/.procmailrc > > # > # Last but not least, deliver mail that falls through to the user's INBOX > # > :0 w > | $USERINBOX > > And finally, in my home directory i created my own .procmailrc file like > this: > > # My Rules > > :0 w > * ^TO.fedora-list > | $DELIVERTO -e -a $USER -m user.$USER.Lists.Fedora > > :0 w > * ^TO.redhat-intall-list > | $DELIVERTO -e -a $USER -m user.$USER.Lists.Redhat-Install > > :0 w > * ^TO.xfree86-list > | $DELIVERTO -e -a $USER -m user.$USER.Lists.Redhat-XFree86 > > Restarted postfix and Voila! All my RedHat-related mail is presorted! > > -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 > > > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- Scott Gose gose@xxxxxxxxxxx