Nick Marsh [nmarsh1@xxxxxxx] wrote: > I'm having problems getting procmail to /dev/null messages mared as spam by spamassassin. I know spmaassassin is working because I can see "X-Spam-Flag: Yes" in the message header. > > >From everything I have seen on google, this should be sending spam to /dev/null. Any ideas why its not? Thanks. > > > $cat .procmailrc > :0fw > | /usr/bin/spamassassin #Go through Spam Assassin > > :0 > * X-Spam-Flag: Yes > /dev/null I copied this from the web somewhere and I don't know the specifics of these rules, but here's what I have: ##### spamassin ################# :0fw | /usr/bin/spamassassin :0e EXITCODE==$? :0: * ^X-Spam-Flag: YES /dev/null ##### end spamassin ################# Seems to work. -- Hardy Merrill Red Hat, Inc. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list