+ Responder ao Tópico



  1. #1

    Padrão Amavisd-new - Notificação personalizada

    Pessoal,

    Configurei o amavisd-new para notificar quem envia e-mail com anexos não permitidos. Funciona bem, mas a mensagem default é muito estranha

    BANNED CONTENTS ALERT

    Our content checker found
    banned name: P=p004,L=1,M=multipart/mixed | P=p003,L=1/2,M=application/x-msdownload,T=exe,T=exe-ms,N=Crack p winroute.exe
    in email presumably from you (<[email protected]>),
    to the following recipient:
    -> [email protected]l

    Our internal reference code for your message is 00711-01.

    Delivery of the email was stopped!

    The message has been blocked because it contains a component
    (as a MIME part or nested within) with declared name
    or MIME type or contents type violating our access policy.

    To transfer contents that may be considered risky or unwanted
    by site policies, or simply too large for mailing, please consider
    publishing your content on the web, and only sending an URL of the
    document to the recipient.

    Depending on the recipient and sender site policies, with a little
    effort it might still be possible to send any contents (including
    viruses) using one of the following methods:

    - encrypted using pgp, gpg or other encryption methods;

    - wrapped in a password-protected or scrambled container or archive
    (e.g.: zip -e, arj -g, arc g, rar -p, or other methods)

    Note that if the contents is not intended to be secret, the
    encryption key or password may be included in the same message
    for recipient's convenience.

    We are sorry for inconvenience if the contents was not malicious.

    The purpose of these restrictions is to cut the most common propagation
    methods used by viruses and other malware. These often exploit automatic
    mechanisms and security holes in certain mail readers (Microsoft mail
    readers and browsers are a common and easy target). By requiring an
    explicit and decisive action from the recipient to decode mail,
    the dangers of automatic malware propagation is largely reduced.

    For your reference, here are headers from your email:
    ------------------------- BEGIN HEADERS -----------------------------
    Return-Path: <[email protected]>
    Received: from master (unknown [192.168.1.254])
    by firewall.barbarakras.local (Postfix) with SMTP id 314882E07C
    for <[email protected]>; Wed, 15 Dec 2004 14:01:34 -0200 (BRST)
    Message-ID: <00b501c4e2bf$93e4c1d0$fe01a8c0@master>
    From: "Valois (Master Redes)" <[email protected]>
    To: "Valois Ivan Tomasi (Master Redes)" <[email protected]>
    Subject: jh
    Date: Wed, 15 Dec 2004 14:03:12 -0200
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_NextPart_000_00B1_01C4E2AE.D05736E0"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2900.2180
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
    -------------------------- END HEADERS ------------------------------



    --------------------------------------------------------------------------------


    Received: from master (unknown [192.168.1.254])
    by firewall.barbarakras.local (Postfix) with SMTP id 314882E07C
    for <[email protected]>; Wed, 15 Dec 2004 14:01:34 -0200 (BRST)
    Message-ID: <00b501c4e2bf$93e4c1d0$fe01a8c0@master>
    From: "Valois (Master Redes)" <[email protected]>
    To: "Valois Ivan Tomasi (Master Redes)" <[email protected]>
    Subject: jh
    Date: Wed, 15 Dec 2004 14:03:12 -0200
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_NextPart_000_00B1_01C4E2AE.D05736E0"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2900.2180
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180




    Gostaria de personalizar essa mensagem. Alguém tem alguma idéia?


    Valeu!

  2. #2
    whinston
    Visitante

    Padrão grep

    vixe veio, eu uso o inflex, mas da uns grep ae nos arquivos ate achar umas palavras chave, ae vc troca a mensagem