ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] filtr in Postfix
@ 2005-01-25 10:39 Kirill
  0 siblings, 0 replies; only message in thread
From: Kirill @ 2005-01-25 10:39 UTC (permalink / raw)
  To: community

Вопрос следующего плана. У Postfix-а стоит after-queue фильтр в 
обязаности которого входит отсеивать почту по определенному критерию, а 
остальную отправлять дальше. Стоит еще задача отправлять почту с этого 
же сервера, но так, чтобы она не попадала в фильтр. Но, поскольку фильтр 
стоит на очереди у Postfix-а, вся почта попадает опять в фильтр и так по 
кругу.

Настройки Postfix-а ( касающиеся работы с фильтром ) следующие:
master.cf:
smtp inet n - - - - smtpd
-o content_filter=filter:dummy
…
filter unix – n n – 10 pipe
flags=Rq user=filter argv=/home/filter/bin/filter –f $(sender) -- 
$(recipient) …

main.cf:
…
# без этой строчки Postfix фильтр не вызывает вообще
content_filter=filter:dummy
…

# uname -a
Linux 2.4.26-std-alt1 #1 SMP Fri May 14 00:33:19 MSD 2004 i686 …

Posfix postfix-control-1.3-alt1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-25 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 10:39 [Comm] filtr in Postfix Kirill

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git