[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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 blocks
messages 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.
--------------------------------------------------------------------------