From: Владимир <fmfm@mmascience.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] postfix header_checks
Date: Fri, 24 Apr 2009 15:34:39 +0400
Message-ID: <49F1A3CF.5020701@mmascience.ru> (raw)
In-Reply-To: <m38wlqpbej.fsf@vvk.distance.ru>
Vladimir V. Kamarzin пишет:
>>>>>> On 24 Apr 2009 at 15:22 "f" == fmfm writes:
>>>>>>
>
>
>>>> Как уже сказали, используйте check_client_access
>>>>
>>>>
>>> Я так понимаю Вы имели ввиду нечто вида:
>>> smtpd_recipient_restrictions =
>>> ....
>>> check_client_access pcre:/etc/postfix/access_client_pcre,
>>> ....
>>>
>>> Попробовал, работает. Посмотрим насколько эффективно это будет работать.
>>>
>>>
>>>
> f> Шутите? Либо это не работает, либо опечатка в тексте.
>
> Вам стоит перечитать документацию.
>
> f> check_client_access принимает в качестве аргумента IP address
>
> check_client_access type:table
> Search the specified access database for the client hostname, parent domains, client
> IP address, or networks obtained by stripping least significant octets. See the
> access(5) manual page for details.
>
>
>
Прочтите внимательней, или, в огороде бузина, а в Киеве дядька.
Одно дело, список всех возможных аргументов в таблицах access
Второе дело, конкретная проверка check_client_access, где берется IP
адрес клиента,
сравнивается с первым полем таблицы и, если нет совпадения или оно не
похожее на IP (диапазон IP),
строка игнорируется.
Иначе, Вам стоит перечитать документацию, не ограничиваясь одной цитатой
не к месту
(и полезно проверять на практике, правильно ли воспринято написанное).
--
Vladimir Kholmanov
fmfm@mmascience.ru
fmfm@mma.ru
next prev parent reply other threads:[~2009-04-24 11:34 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-23 14:49 Denis Kuznetsov
2009-04-23 17:07 ` Afanasov Dmitry
2009-04-23 19:43 ` Denis Kuznetsov
2009-04-23 20:10 ` Sergey
2009-04-23 20:44 ` Denis Kuznetsov
2009-04-24 6:57 ` Sergey
2009-04-24 7:50 ` Владимир
2009-04-24 8:09 ` Max Ivanov
2009-04-24 8:53 ` Владимир
2009-04-24 9:18 ` Denis Kuznetsov
2009-04-24 11:05 ` Vladimir V. Kamarzin
2009-04-24 12:38 ` Sergey
2009-04-24 12:46 ` Max Ivanov
2009-04-27 6:36 ` Владимир
2009-04-27 7:29 ` Sergey
2009-04-27 11:05 ` Anton Kvashin
2009-09-24 5:37 ` Roman Savochenko
2009-09-24 10:04 ` Andrii Dobrovol`s`kii
2009-09-24 5:38 ` [Sysadmins] Странные проблемы с сетью Roman Savochenko
2009-04-24 5:20 ` [Sysadmins] postfix header_checks Vladimir V. Kamarzin
2009-04-24 8:56 ` Denis Kuznetsov
2009-04-24 9:22 ` Владимир
2009-04-24 10:57 ` Vladimir V. Kamarzin
2009-04-24 11:13 ` Denis Kuznetsov
2009-04-24 11:34 ` Владимир [this message]
2009-04-24 11:54 ` Denis Kuznetsov
2009-04-24 11:19 ` Denis Kuznetsov
2009-04-24 11:31 ` Denis Kuznetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F1A3CF.5020701@mmascience.ru \
--to=fmfm@mmascience.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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