[Sysadmins] postfix header_checks

Vladimir V. Kamarzin vvk на vvk.pp.ru
Пт Апр 24 05:20:36 UTC 2009


>>>>> On 23 Apr 2009 at 20:49 "DK" == Denis Kuznetsov writes:

DK> Доброго времени суток!
DK> в main.cf прописано:
DK> header_checks = pcre:/etc/postfix/header_checks
DK> mime_header_checks = pcre:/etc/postfix/header_checks

DK> соответственно в /etc/postfix/header_checks:
DK> /^Received:.*\.altlinux\.org/    OK
DK> /^Received:.*\d{1,3}-\d{1,3}[-\.]\d{1,3}-\d{1,3}/  REJECT Please use ISP relay
DK> /^Received:.*dsl\.dynamic\d{1,}\.ttnet\.net\.tr/   REJECT Please use ISP relay

       Each  message  header  or  message  body line is compared against a list of patterns.  When a
       match is found the corresponding action is executed, and the matching process is repeated for
       the next message header or message body line.

Как уже сказали, используйте check_client_access

-- 
vvk

Postfix page on f.i: http://freesource.info/wiki/Dokumentacija/Postfix

Russian Postfix irc: irc.freenode.net #postfix-ru


Подробная информация о списке рассылки Sysadmins