RE: How to alert postmaster

From: Peter Williams (
Date: Sun 08 Jun 2003 - 04:46:56 GMT

  • Next message: Robin Whittle: "How-I-Did-It: Anomy Sanitizer & SpamAssassin from Maildrop, with Postfix, Courier IMAP & Red Hat 9.0"


    OK. My terminology may be the confusing item here.

    In your sanitizer.cfg you will allocated rules for file attachment

    An example my be as follows:

    file_list_1_scanner = 0:2:3:/usr/local/bin/check_for_virus %FILENAME
    file_list_1_policy = unknown:mangle:save:save
    file_list_1 = (?i)(winmail\.dat
    file_list_1 +=
    file_list_1 += |do[ct]|pp[tas]|xl[scidiklmtvwba]|doch|rtf|wiz
    file_list_1 += ||sct|inf|js|jse|ms[ip]|ws[chf])
    file_list_1 += (\.g?z|\.bz\d?)*)$

    Well this example rule forwards a number of attachment file type to the
    shell script /usr/local/bin/check_for_virus. It would be this script
    that you can email your postmaster.

    The script I use is a bastardized version of the on from the contrib.

    I hope this helps.


    -----Original Message-----
    From: david hong []
    Sent: Sunday, 8 June 2003 12:13 AM
    Subject: RE: [anomy-list]: How to alert postmaster

    may i know where to find the filer script?

    >From: "Peter Williams" <>
    >To: "'david hong'" <>,
    >Subject: RE: [anomy-list]: How to alert postmaster
    >Date: Sat, 7 Jun 2003 10:46:46 +1000
    >I user both sendmail and Anomy. I have the filer script send the email
    >to the manager.
    >-----Original Message-----
    >From: david hong []
    >Sent: Saturday, 7 June 2003 3:00 AM
    >Subject: [anomy-list]: How to alert postmaster
    >i use sendmail + anomy sanitizer.
    >how do i alert postmaster whenever there is an incoming mail
    >i couldn't find any setting at sanomy sanitizer.
    >Download the latest MSN Messenger

    Using a handphone prepaid card? Reload your credit online!

    hosted by