ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Andrew Kornilov <akornilov@ipxp.net>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Фильтрация по заголовку письма и пункту назначения
Date: Wed, 21 May 2008 02:21:07 +0300
Message-ID: <m37idoblzw.fsf@roothome.dp.ua.ipxp.net> (raw)
In-Reply-To: <g0rvc0$28q$1@ger.gmane.org>

Вадим Илларионов <master@nstel.ru> writes:
>>>   
>> Читать доки по header_checks
>
> Нашёл такое для header_checks:
> "/^Subject: YOUREXPRESSION/ DISCARD"
>
> Как понял, пример просто отвергнет сообщение с заданным текстом в заголовке.
> А как привязать ещё и к пункту назначения - нифига не вырисовывается...
В postfix есть условное ветвление по if и if not, с возможностью вложенных
условий. Плохо то, что в header_check письмо поступает построчно и
проанализировав, к примеру, To:, вы дальше его уже не поймаете. 
-- 



      parent reply	other threads:[~2008-05-20 23:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 12:18 Вадим Илларионов
2008-05-19 12:37 ` Sergei Boudnik
2008-05-19 13:29   ` Вадим Илларионов
2008-05-19 15:02     ` [Sysadmins] Прокси сервер для Socks Shcherbina N Timur
2008-05-19 15:44       ` Вадим Илларионов
2008-05-20  8:05     ` [Sysadmins] Фильтрация по заголовку письма и пункту назначения Maxim Tyurin
2008-05-20 17:03       ` Вадим Илларионов
2008-05-20 17:45         ` Sergey
2008-05-20 18:50           ` Вадим Илларионов
2008-05-20 19:01             ` Sergey
2008-05-20 23:21     ` Andrew Kornilov [this message]

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=m37idoblzw.fsf@roothome.dp.ua.ipxp.net \
    --to=akornilov@ipxp.net \
    --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