anomy-list

Re: user based attachment filter

From: Papp Rudolf (47251@xyz.molar.is)
Date: Mon 03 Jun 2002 - 12:24:04 UTC

  • Next message: Karl Hoppel: "underscore added to application type?"

    Papp Rudolf wrote:

    > Hi!
    >
    > I need to make an user based attachment filter. On a mailserver
    > running a sendmail 8.12.3 with FEATURE(local_procmail) to deliver
    > mails to boxes with procmail. From this I can filter all of messages.
    > This is very nice (the server not too busy), but I have 2 questions.
    >
    > 1./
    > How can I filter messages per user base? When I place this in
    > /etc/procmailrc:
    >
    > 0rc
    >
    > * ! TOtest
    > | sanitizer /etc/sanitizer.cfg
    >
    > all ok ( all message filtered that not contains test local user).
    > But when in an arrived message To or Cc fileds contains other address,
    > then messages abandoned too (when contains test.) How can I filter
    > message before delivering to box?

    I think, I've found the right answer...

    :0rc

    * ! LOGNAME ?? test
    | sanitizer /etc/sanitizer.cfg

    >
    > 2./
    > Can I send an e-mail notification to admin, when an arrived message
    > altered?
    >
    > Any idea?
    >
    > Thank you!

    Can I send e-mail from sanitizer anywhere?

    -- 
    Papp Rudolf
    SysAdm of Different ISP
    

    ICQ UIN: 109928067



    hosted by molar.is