ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: kde@kde.kiev.ua
Cc: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] postfix header_checks
Date: Fri, 24 Apr 2009 11:20:36 +0600
Message-ID: <m3fxfypqzf.fsf@vvk.distance.ru> (raw)
In-Reply-To: <200904231749.10099.kde@kde.kiev.ua> (Denis Kuznetsov's message of "Thu, 23 Apr 2009 17:49:10 +0300")

>>>>> 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


  parent reply	other threads:[~2009-04-24  5:20 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 ` Vladimir V. Kamarzin [this message]
2009-04-24  8:56   ` [Sysadmins] postfix header_checks 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         ` Владимир
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=m3fxfypqzf.fsf@vvk.distance.ru \
    --to=vvk@vvk.pp.ru \
    --cc=kde@kde.kiev.ua \
    --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