Re: META: Filtering viruses/worms

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: META: Filtering viruses/worms
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE1715F9@algol.sollentuna.se
обсуждение исходный текст
Ответ на META: Filtering viruses/worms  ("Greg Sabino Mullane" <greg@turnstep.com>)
Ответы Re: META: Filtering viruses/worms
Список pgsql-general
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> > > X-Virus-Scanned: by amavisd-new at postgresql.org
> >
> > Since "amavisd" does not appear to be catching the latest worm, how
> > about filtering on size? Anything, say, over 20K will be held for
> > approval. Here are the top posts by size to this list recently:
>
> The problem is, where do we stop?  Tom pop'd me off a note
> about it yesterday, and we drop'd it from 40k to 30k ... :(

A quick stop-gap is to block all ZIPs. We don't usually see a lot of ZIP
attachments on these lists, IIRC.

If I'm not mistaken, you run postfix on the server for the lists. The
something along:
/etc/postfix/main.cf:
 mime_header_checks = pcre:/etc/postfix/mime_header_checks

/etc/postfix/mime_header_checks:
 /name=[^>]*\.(zip|exe|com|vbs)/ REJECT Potentially dangerous file
attachment.

Remove initial spaces, of course. And add/remove any other extensions
you need.


//Magnus

В списке pgsql-general по дате отправления:

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Moving from MySQL to PGSQL....some questions (multilevel
Следующее
От: "C G"
Дата:
Сообщение: Information about a column