* [Comm] postfix trouble
@ 2004-11-10 10:08 Roman V. Tutov
2004-11-10 19:20 ` Dmitriy Zakalyuzhniy
0 siblings, 1 reply; 13+ messages in thread
From: Roman V. Tutov @ 2004-11-10 10:08 UTC (permalink / raw)
To: Community
Здравствуйте, Community.
В Postfix'e ни в какую не желает работать body_checks
Добавил в main.cf строку
body_checks = regexp:/etc/postfix/body_checks
создал файлик /etc/postfix/body_checks
/(filename|name)=".*\.(asd|chm|dll|hlp|hta|js|ocx|pif)"/ REJECT
/(filename|name)=".*\.(scr|shb|shs|vb|vbe|vbs|wsf|wsh)"/ REJECT
сделал service postfix restart и сел ждать чуда .
Чуда не произошло . тестовый файлик с вложенной dll-кой прошел на ура
ЗЫ Что не так ?
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] postfix trouble
2004-11-10 10:08 [Comm] postfix trouble Roman V. Tutov
@ 2004-11-10 19:20 ` Dmitriy Zakalyuzhniy
2004-11-11 6:33 ` Re[2]: " Roman V. Tutov
0 siblings, 1 reply; 13+ messages in thread
From: Dmitriy Zakalyuzhniy @ 2004-11-10 19:20 UTC (permalink / raw)
To: community
On Wed, 10 Nov 2004 13:08:35 +0300
"Roman V. Tutov" <tutov@aston.ru> wrote:
> Здравствуйте, Community.
>
> В Postfix'e ни в какую не желает работать body_checks
>
> Добавил в main.cf строку
> body_checks = regexp:/etc/postfix/body_checks
> создал файлик /etc/postfix/body_checks
> /(filename|name)=".*\.(asd|chm|dll|hlp|hta|js|ocx|pif)"/ REJECT
> /(filename|name)=".*\.(scr|shb|shs|vb|vbe|vbs|wsf|wsh)"/ REJECT
> сделал service postfix restart и сел ждать чуда .
> Чуда не произошло . тестовый файлик с вложенной dll-кой прошел на ура
> ЗЫ Что не так ?
Postfix версии 2.х?
>
> --
> Тутов Роман Викторович
> Системный администратор
> ASTON Agro Industrial Company Group
> Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
> ул.1-я Луговая,3 тел.: (863 2) 999049
> JID:tutov@jabber.aston.ru
> mailto:tutov@aston.ru
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re[2]: [Comm] postfix trouble
2004-11-10 19:20 ` Dmitriy Zakalyuzhniy
@ 2004-11-11 6:33 ` Roman V. Tutov
2004-11-11 7:30 ` Dmitriy Zakalyuzhniy
2004-11-11 7:47 ` Vladimir V Kamarzin
0 siblings, 2 replies; 13+ messages in thread
From: Roman V. Tutov @ 2004-11-11 6:33 UTC (permalink / raw)
To: Dmitriy Zakalyuzhniy
Здравствуйте, Dmitriy.
Вы писали 10 ноября 2004 г., 22:20:01:
>>
>> В Postfix'e ни в какую не желает работать body_checks
>>
>> Добавил в main.cf строку
>> body_checks = regexp:/etc/postfix/body_checks
>> создал файлик /etc/postfix/body_checks
>> /(filename|name)=".*\.(asd|chm|dll|hlp|hta|js|ocx|pif)"/ REJECT
>> /(filename|name)=".*\.(scr|shb|shs|vb|vbe|vbs|wsf|wsh)"/ REJECT
>> сделал service postfix restart и сел ждать чуда .
>> Чуда не произошло . тестовый файлик с вложенной dll-кой прошел на ура
>> ЗЫ Что не так ?
DZ> Postfix версии 2.х?
Да .
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re[2]: [Comm] postfix trouble
2004-11-11 6:33 ` Re[2]: " Roman V. Tutov
@ 2004-11-11 7:30 ` Dmitriy Zakalyuzhniy
2004-11-11 7:36 ` Alexey I. Froloff
2004-11-11 7:47 ` Vladimir V Kamarzin
1 sibling, 1 reply; 13+ messages in thread
From: Dmitriy Zakalyuzhniy @ 2004-11-11 7:30 UTC (permalink / raw)
To: community
On Thu, 11 Nov 2004 09:33:24 +0300
"Roman V. Tutov" <tutov@aston.ru> wrote:
>
> DZ> Postfix версии 2.х?
> Да .
>
Это баг Postfix-а. В версии 1.х все нормально обрабатывалось, в ветке 2.х наблюдается такая бяка.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re[2]: [Comm] postfix trouble
2004-11-11 7:30 ` Dmitriy Zakalyuzhniy
@ 2004-11-11 7:36 ` Alexey I. Froloff
2004-11-11 8:15 ` Dmitriy Zakalyuzhniy
2004-11-11 9:05 ` Alexei Takaseev
0 siblings, 2 replies; 13+ messages in thread
From: Alexey I. Froloff @ 2004-11-11 7:36 UTC (permalink / raw)
To: ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
* Dmitriy Zakalyuzhniy <dimzey@> [041111 10:29]:
> > DZ> Postfix версии 2.х?
> > Да .
> Это баг Postfix-а. В версии 1.х все нормально обрабатывалось, в
> ветке 2.х наблюдается такая бяка.
Дурацкий вопрос - postfix-pcre установлен?
--
Regards, Sir Raorn.
-------------------
Помимо этого пакета, я посмотрел ещё 9 версий того, как можно запаковать
postfix.
Результат будет в Сизифе на следующей неделе.
-- ldv in devel@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re[2]: [Comm] postfix trouble
2004-11-11 7:36 ` Alexey I. Froloff
@ 2004-11-11 8:15 ` Dmitriy Zakalyuzhniy
2004-11-11 9:05 ` Alexei Takaseev
1 sibling, 0 replies; 13+ messages in thread
From: Dmitriy Zakalyuzhniy @ 2004-11-11 8:15 UTC (permalink / raw)
To: community
On Thu, 11 Nov 2004 10:36:49 +0300
"Alexey I. Froloff" <raorn@immo.ru> wrote:
> * Dmitriy Zakalyuzhniy <dimzey@> [041111 10:29]:
> > > DZ> Postfix версии 2.х?
> > > Да .
> > Это баг Postfix-а. В версии 1.х все нормально обрабатывалось, в
> > ветке 2.х наблюдается такая бяка.
> Дурацкий вопрос - postfix-pcre установлен?
>
На моей FreeBSD 5.х postconf -m выдает:
static
cidr
pcre
regexp
...
Значит, установлен :-)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re[2]: [Comm] postfix trouble
2004-11-11 7:36 ` Alexey I. Froloff
2004-11-11 8:15 ` Dmitriy Zakalyuzhniy
@ 2004-11-11 9:05 ` Alexei Takaseev
1 sibling, 0 replies; 13+ messages in thread
From: Alexei Takaseev @ 2004-11-11 9:05 UTC (permalink / raw)
To: ALT Linux Community
On Thu, 11 Nov 2004 10:36:49 +0300
"Alexey I. Froloff" <raorn@immo.ru> wrote:
> * Dmitriy Zakalyuzhniy <dimzey@> [041111 10:29]:
> > > DZ> Postfix версии 2.х?
> > > Да .
> > Это баг Postfix-а. В версии 1.х все нормально обрабатывалось, в
> > ветке 2.х наблюдается такая бяка.
> Дурацкий вопрос - postfix-pcre установлен?
Вообще-то там так сделано, что body_check таки не фурычет, а вот
header_check работает как body_check
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] postfix trouble
2004-11-11 6:33 ` Re[2]: " Roman V. Tutov
2004-11-11 7:30 ` Dmitriy Zakalyuzhniy
@ 2004-11-11 7:47 ` Vladimir V Kamarzin
2004-11-11 8:25 ` Re[2]: " Roman V. Tutov
1 sibling, 1 reply; 13+ messages in thread
From: Vladimir V Kamarzin @ 2004-11-11 7:47 UTC (permalink / raw)
To: community
>>>> On 11 Ноя 2004 at 11:33 Roman V Tutov writes:
>>> Добавил в main.cf строку
>>> body_checks = regexp:/etc/postfix/body_checks
>>> создал файлик /etc/postfix/body_checks
>>> /(filename|name)=".*\.(asd|chm|dll|hlp|hta|js|ocx|pif)"/ REJECT
>>> /(filename|name)=".*\.(scr|shb|shs|vb|vbe|vbs|wsf|wsh)"/ REJECT
DZ>> Postfix версии 2.х?
RVT> Да .
Попробуйте в main.cf
mime_header_checks = $header_checks
header_checks = regexp:/etc/postfix/header_checks
Ну и в header_checks
/^[ ]*name=.*\.(exe|dll|eml|vbs|pif|com|bat|scr|lnk)\"?$/ REJECT executing files not
allowed
--
// WBR, Vladimir V. Kamarzin, 2:5077/16.35
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re[2]: [Comm] postfix trouble
2004-11-11 7:47 ` Vladimir V Kamarzin
@ 2004-11-11 8:25 ` Roman V. Tutov
2004-11-11 8:55 ` Vladimir V Kamarzin
0 siblings, 1 reply; 13+ messages in thread
From: Roman V. Tutov @ 2004-11-11 8:25 UTC (permalink / raw)
To: Vladimir V Kamarzin
Здравствуйте, Vladimir.
Вы писали 11 ноября 2004 г., 10:47:26:
>>>>> On 11 Ноя 2004 at 11:33 Roman V Tutov writes:
>>>> Добавил в main.cf строку
>>>> body_checks = regexp:/etc/postfix/body_checks
>>>> создал файлик /etc/postfix/body_checks
>>>> /(filename|name)=".*\.(asd|chm|dll|hlp|hta|js|ocx|pif)"/ REJECT
>>>> /(filename|name)=".*\.(scr|shb|shs|vb|vbe|vbs|wsf|wsh)"/ REJECT
DZ>>> Postfix версии 2.х?
RVT>> Да .
VVK> Попробуйте в main.cf
VVK> mime_header_checks = $header_checks
VVK> header_checks = regexp:/etc/postfix/header_checks
VVK> Ну и в header_checks
VVK> /^[
VVK> ]*name=.*\.(exe|dll|eml|vbs|pif|com|bat|scr|lnk)\"?$/ REJECT
VVK> executing files not
VVK> allowed
Попробовал . Результатов "0"
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] postfix trouble
2004-11-11 8:25 ` Re[2]: " Roman V. Tutov
@ 2004-11-11 8:55 ` Vladimir V Kamarzin
2004-11-11 9:00 ` Re[2]: " Roman V. Tutov
2004-11-11 9:12 ` Roman V. Tutov
0 siblings, 2 replies; 13+ messages in thread
From: Vladimir V Kamarzin @ 2004-11-11 8:55 UTC (permalink / raw)
To: community
>>>> On 11 Ноя 2004 at 13:25 Roman V Tutov writes:
RVT> Попробовал . Результатов "0"
А вы пытались отправить письмо с IP-шника из $mynetworks постфикса? Он
почему-то из mynetworks не реджектит, а вот из остального мира - вполне.
--
// WBR, Vladimir V. Kamarzin, 2:5077/16.35
Telecommunications is upgrading.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re[2]: [Comm] postfix trouble
2004-11-11 8:55 ` Vladimir V Kamarzin
@ 2004-11-11 9:00 ` Roman V. Tutov
2004-11-11 9:12 ` Roman V. Tutov
1 sibling, 0 replies; 13+ messages in thread
From: Roman V. Tutov @ 2004-11-11 9:00 UTC (permalink / raw)
To: Vladimir V Kamarzin
Здравствуйте, Vladimir.
Вы писали 11 ноября 2004 г., 11:55:57:
>>>>> On 11 Ноя 2004 at 13:25 Roman V Tutov writes:
RVT>> Попробовал . Результатов "0"
VVK> А вы пытались отправить письмо с IP-шника из $mynetworks постфикса? Он
VVK> почему-то из mynetworks не реджектит, а вот из остального мира - вполне.
именно так . из $mynetworks . вообще-то я хочу что-бы реджектило
отовсюду
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re[2]: [Comm] postfix trouble
2004-11-11 8:55 ` Vladimir V Kamarzin
2004-11-11 9:00 ` Re[2]: " Roman V. Tutov
@ 2004-11-11 9:12 ` Roman V. Tutov
2004-11-11 9:26 ` Vladimir V Kamarzin
1 sibling, 1 reply; 13+ messages in thread
From: Roman V. Tutov @ 2004-11-11 9:12 UTC (permalink / raw)
To: Vladimir V Kamarzin
Здравствуйте, Vladimir.
Вы писали 11 ноября 2004 г., 11:55:57:
>>>>> On 11 Ноя 2004 at 13:25 Roman V Tutov writes:
RVT>> Попробовал . Результатов "0"
VVK> А вы пытались отправить письмо с IP-шника из $mynetworks постфикса? Он
VVK> почему-то из mynetworks не реджектит, а вот из остального мира - вполне.
специально только-что проверил - не работает
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] postfix trouble
2004-11-11 9:12 ` Roman V. Tutov
@ 2004-11-11 9:26 ` Vladimir V Kamarzin
0 siblings, 0 replies; 13+ messages in thread
From: Vladimir V Kamarzin @ 2004-11-11 9:26 UTC (permalink / raw)
To: community
>>>> On 11 Ноя 2004 at 14:12 Roman V Tutov writes:
RVT>>> Попробовал . Результатов "0"
VVK>> А вы пытались отправить письмо с IP-шника из $mynetworks постфикса? Он
VVK>> почему-то из mynetworks не реджектит, а вот из остального мира - вполне.
RVT> специально только-что проверил - не работает
Писал по памяти. Держал такую настройку на postfix 2.x до
тех пор пока amavis не начал использовать - работало.
--
// WBR, Vladimir V. Kamarzin, 2:5077/16.35
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-11-11 9:26 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-10 10:08 [Comm] postfix trouble Roman V. Tutov
2004-11-10 19:20 ` Dmitriy Zakalyuzhniy
2004-11-11 6:33 ` Re[2]: " Roman V. Tutov
2004-11-11 7:30 ` Dmitriy Zakalyuzhniy
2004-11-11 7:36 ` Alexey I. Froloff
2004-11-11 8:15 ` Dmitriy Zakalyuzhniy
2004-11-11 9:05 ` Alexei Takaseev
2004-11-11 7:47 ` Vladimir V Kamarzin
2004-11-11 8:25 ` Re[2]: " Roman V. Tutov
2004-11-11 8:55 ` Vladimir V Kamarzin
2004-11-11 9:00 ` Re[2]: " Roman V. Tutov
2004-11-11 9:12 ` Roman V. Tutov
2004-11-11 9:26 ` Vladimir V Kamarzin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git