anomy-list

Feature request - adding Virus-Header tag ?

From: Joerg Mertin (135955@xyz.molar.is)
Date: Fri 07 Jan 2005 - 10:33:48 GMT

  • Next message: Luis Miguel R.: "RE: Feature request - adding Virus-Header tag ?"

    Hia Folks,

    how hard would it be to add a header Tag to E-Mail in case a Virus is
    found, if it is activated in the config-file?

    Reason for this:

    I'm using anomy in conjunction with postfix/clamAV - and wrote a little
    script that also sends back the Virus-Name to anomy which then gets added
    to the save-message... anomy is integrated as a Proxy-Application.

    However - as I do some sieve processing - where I can reject E-mails
    directly through postfix (lettign users define their own reject policy).

    So - if I had a header in the E-mail stating, b.e. for Clean:
    X-Sanitizer-Virus: Clean

    or for detected viruses:
    X-Sanitizer-Virus: [VIRUS] Worm.Bagle.Z

    b.e. - I could write a simple sieve filter for:
    if header :contains "X-Sanitizer-[Virus]" "VIRUS" {
        reject "Your Mail is infected with a VIRUS - Rejected !";
        stop;
    }

    which would reject the mail directly prior delivery...

    If not - what other posibilities do I have to reject infected E-Mails
    directly through the MTA ?

    Thanks & Cheers

    Joerg

    -- 
    

    ------------------------------------------------------------------------ | Joerg Mertin : 135955@xyz.molar.is (Home)| | in Forchheim/Germany : 136045@xyz.molar.is (Alt1)| | Stardust's LiNUX System : | | Web: http://www.solsys.org | ------------------------------------------------------------------------ PGP Fingerprint: AF0F FB75 997B 025F 4538 5AD6 9888 5D97 170B 8B7A



    hosted by molar.is