* [Sysadmins] порядок работы правил в postfix
@ 2009-02-27 13:37 Roman V. Tutov
2009-02-27 13:44 ` Timur Batyrshin
0 siblings, 1 reply; 7+ messages in thread
From: Roman V. Tutov @ 2009-02-27 13:37 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
День добрый
борюсь со спамом такой конструкцией
smtpd_client_restrictions =
check_sender_access hash:/etc/postfix/access,
check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
reject_rbl_client zen.spamhaus.org
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dul.ru,
reject_rbl_client combined.njabl.org,
permit_mynetworks,
# reject_unknown_client,
permit
почему-то всегда сначала отрабатывает запрос к rbl затем только фильтр
check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
хочется поменять порядок . это значительно уменьшит нагрузку на сервер
как ?
--
Тутов Роман Викторович
ст.Системный администратор
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] 7+ messages in thread
* Re: [Sysadmins] порядок работы правил в postfix
2009-02-27 13:37 [Sysadmins] порядок работы правил в postfix Roman V. Tutov
@ 2009-02-27 13:44 ` Timur Batyrshin
2009-02-27 14:19 ` Roman V. Tutov
0 siblings, 1 reply; 7+ messages in thread
From: Timur Batyrshin @ 2009-02-27 13:44 UTC (permalink / raw)
To: sysadmins
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
On Fri, 27 Feb 2009 16:37:05 +0300
Roman V. Tutov wrote:
> борюсь со спамом такой конструкцией
> почему-то всегда сначала отрабатывает запрос к rbl затем только фильтр
> check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
> хочется поменять порядок . это значительно уменьшит нагрузку на сервер
> как ?
Случайно, smtpd_delay_reject в no не выставлен?
$ sudo postconf | grep smtpd_delay_reject
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] порядок работы правил в postfix
2009-02-27 13:44 ` Timur Batyrshin
@ 2009-02-27 14:19 ` Roman V. Tutov
2009-02-27 15:07 ` Dmitriy Kruglikov
0 siblings, 1 reply; 7+ messages in thread
From: Roman V. Tutov @ 2009-02-27 14:19 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Timur Batyrshin пишет:
> On Fri, 27 Feb 2009 16:37:05 +0300
> Roman V. Tutov wrote:
>
>
>> борюсь со спамом такой конструкцией
>> почему-то всегда сначала отрабатывает запрос к rbl затем только фильтр
>> check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
>> хочется поменять порядок . это значительно уменьшит нагрузку на сервер
>> как ?
>>
>
> Случайно, smtpd_delay_reject в no не выставлен?
>
> $ sudo postconf | grep smtpd_delay_reject
>
>
[tutov@aston etc]# sudo postconf |grep smtpd_delay_reject
smtpd_delay_reject = yes
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] порядок работы правил в postfix
2009-02-27 14:19 ` Roman V. Tutov
@ 2009-02-27 15:07 ` Dmitriy Kruglikov
2009-03-02 6:38 ` Roman V. Tutov
0 siblings, 1 reply; 7+ messages in thread
From: Dmitriy Kruglikov @ 2009-02-27 15:07 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
27 февраля 2009 г. 16:19 пользователь Roman V. Tutov написал:
>>> почему-то всегда сначала отрабатывает запрос к rbl затем только фильтр
>>> check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
>>> хочется поменять порядок . это значительно уменьшит нагрузку на сервер
>>> как ?
http://www.freesource.info/wiki/Dokumentacija/Postfix/antispam/restrictions&
--
Как правильно задавать вопросы:
http://maddog.sitengine.ru/smart-question-ru.html
Помогает:
http://search.altlinux.org
Best regards,
Dmitriy L. Kruglikov
Dmitriy.Kruglikov_at_gmail_dot_com
DKR6-RIPE
DKR6-UANIC
XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] порядок работы правил в postfix
2009-02-27 15:07 ` Dmitriy Kruglikov
@ 2009-03-02 6:38 ` Roman V. Tutov
2009-03-02 14:02 ` Maxim Tyurin
0 siblings, 1 reply; 7+ messages in thread
From: Roman V. Tutov @ 2009-03-02 6:38 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Dmitriy Kruglikov пишет:
> 27 февраля 2009 г. 16:19 пользователь Roman V. Tutov написал:
>
>>>> почему-то всегда сначала отрабатывает запрос к rbl затем только фильтр
>>>> check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
>>>> хочется поменять порядок . это значительно уменьшит нагрузку на сервер
>>>> как ?
>
> http://www.freesource.info/wiki/Dokumentacija/Postfix/antispam/restrictions&
судя по доке все правильно .
>>Правила в каждом ограничении работают в том порядке, каком они для
>>данного ограничения прописаны – последовательно друг за другом.
но у меня правила срабатывают не в том порядке в каком прописаны
--
Тутов Роман Викторович
ст.Системный администратор
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] 7+ messages in thread
* Re: [Sysadmins] порядок работы правил в postfix
2009-03-02 6:38 ` Roman V. Tutov
@ 2009-03-02 14:02 ` Maxim Tyurin
2009-03-02 15:05 ` Roman V. Tutov
0 siblings, 1 reply; 7+ messages in thread
From: Maxim Tyurin @ 2009-03-02 14:02 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
Roman V. Tutov пишет:
>>> Правила в каждом ограничении работают в том порядке, каком они для
>>> данного ограничения прописаны – последовательно друг за другом.
>
> но у меня правила срабатывают не в том порядке в каком прописаны
Тогда у вас особенный postfix
Про smtpd_delay_reject прочитали?
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] порядок работы правил в postfix
2009-03-02 14:02 ` Maxim Tyurin
@ 2009-03-02 15:05 ` Roman V. Tutov
0 siblings, 0 replies; 7+ messages in thread
From: Roman V. Tutov @ 2009-03-02 15:05 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Maxim Tyurin пишет:
> Roman V. Tutov пишет:
>
>>>> Правила в каждом ограничении работают в том порядке, каком они для
>>>> данного ограничения прописаны – последовательно друг за другом.
>> но у меня правила срабатывают не в том порядке в каком прописаны
>
> Тогда у вас особенный postfix
>
> Про smtpd_delay_reject прочитали?
>
конечно . клацанье этого параметра ни на что не повлияло . во всяком
случае я разницы не заметил :(
--
Тутов Роман Викторович
ст.Системный администратор
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] 7+ messages in thread
end of thread, other threads:[~2009-03-02 15:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-27 13:37 [Sysadmins] порядок работы правил в postfix Roman V. Tutov
2009-02-27 13:44 ` Timur Batyrshin
2009-02-27 14:19 ` Roman V. Tutov
2009-02-27 15:07 ` Dmitriy Kruglikov
2009-03-02 6:38 ` Roman V. Tutov
2009-03-02 14:02 ` Maxim Tyurin
2009-03-02 15:05 ` Roman V. Tutov
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git