Re: Help with filter-flags
LuKreme <[email protected]>
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
Arthur Dent <[email protected]> squaked out on Thu 04-Aug-2011 09:21 > Using Sean's testing sandbox, the recipe below *kind of* works, but > produces "procmail: Extraneous filter-flag ignored" warnings. I can't > work out how to get rid of them. see below. > Also, I have not yet managed to incorporate the error checking. Can I > have a brace within a brace as in my pseudocode? I would check if clamd is running first, then proceed only if it is. CLAMRUN=`ps -Uroot -co command | grep "\bclamd\b"` :0 * CLAMRUN ?? clamd { # Your existing recipes, with some fixes } > CLAMDSCAN=/usr/bin/clamdscan > CLAMDVERS=`${CLAMDSCAN} -V --stdout` > > :0 > VIRUS=|${CLAMDSCAN} --no-summary --stdout - > > :0fw ^ Extraneous filter flag since the action is not a filter. > # grab the subject, if any > :0afw ^ Extraneous filter flag since the action is not a filter. -- Passion is the pill you can swallow forever Taking them one by one One by One --Agents of Good Roots "Come On"