[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Block Policies
- To: qmail@xxxxxxxxxxxxx
- Subject: Re: Block Policies
- From: zeque@xxxxxxxxxxxxxxx
- Date: Tue, 08 Nov 2005 16:25:39 -0300
- Delivered-to: de5-qmail@sws5.ornl.gov
- Delivered-to: mailing list qmail@list.cr.yp.to
- Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
- Priority: normal
Charles,
Thank you very much!
There is a precompiled qmail-queue patched? Because I have Plesk and i must not recompile the qmail.
Zeque
----- Mensaje original -----
De: Charles Cazabon <qmail@xxxxxxxxxxxxxxxxxxxx>
Fecha: Martes, Noviembre 8, 2005 4:04 pm
Asunto: Re: Block Policies
> zeque@xxxxxxxxxxxxxxx <zeque@xxxxxxxxxxxxxxx> wrote:
> >
> > How can i block bad files like .pif .bat .scr ? I know that i
> can use the
> > dot-qmail, but the question is how? =) To this script can i add
> > automatically some message like "Blocked For Policy" ?
>
> You want to block messages at SMTP time? The way to do that is to
> apply the
> QMAILQUEUE patch (included in netqmail) and install Bruce Guenter's
> qmail-qfilter package. You then write a tiny filter script that
> blocksmessages based on whatever policy you like, including
> attachments, etc. I
> believe that the qmail-qfilter package includes example scripts
> that would do
> exactly what you're asking.
>
> Charles
> --
> -------------------------------------------------------------------
> -------
> Charles Cazabon
> <qmail@xxxxxxxxxxxxxxxxxxxx>Read
> http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
> My services include qmail consulting. See http://pyropus.ca/ for
> details.-----------------------------------------------------------
> ---------------
>