anomy-list

Re: annoying problem with sanitizer via procmail

From: Luis Miguel (122409@xyz.molar.is)
Date: Wed 07 Apr 2004 - 09:32:02 GMT

  • Next message: Peter Williams: "Deleting infected emails as well as attachments"

    On Tue, Apr 06, 2004 at 01:59:27PM -0400, Bob George wrote:
    > I'm having a hell of a time getting sanitizer to work as expected via
    > procmail. It works well enough in my system-wide configuration
    > (/etc/sanitizer.cfg) but I can not get it to work in a user's
    > configuration (debian sarge/testing).
    >
    > In my ~/.procmailrc I had:
    >
    > :0 fw
    > | /usr/bin/sanitizer ~/sanitizer-user.cfg
    >
    > But it would simply be skipped. The same user can run sanitizer manually
    > just fine using the same syntax. Permissions are all good for that user.
    >
    > Is there some procmail magick I've missed?

    Hi, maybe your .procmailrc needs some shell variables, try this:

    PATH="/usr/bin:$PATH"
    SHELL=/bin/sh



    hosted by molar.is