ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey V. Lubimov" <avl@l14.ru>
To: community <community@altlinux.ru>
Subject: [Comm] postfix - запрет на посылку почты с определенных адресов.
Date: Wed, 25 Sep 2002 13:20:51 +0400
Message-ID: <20020925132051.77658cca.avl@l14.ru> (raw)

Хочется простого.
Поместить в файл адреса, с которых мне не хочется получать почту и чтоб
постфик с этих адресов эту самую почту и не брал.

Прмерно так:

 Out: 220 l14.ru ESMTP Postfix
 In:  EHLO 62.5.1.1
 Out: 250-server.my.ru
 Out: 250-PIPELINING
 Out: 250-SIZE 10240000
 Out: 250-ETRN
 Out: 250-XVERP
 Out: 250 8BITMIME
 In:  MAIL From: <testing@cytron.com>
 Out: 554 <testing@cytron.com>: spamers must die!!!
 In:  QUIT
 Out: 221 Bye

Нашел две потенциальные возможности:

/etc/postfix/access

/^user@my.domain/        REJECT

Но по моему, это селекция поля MAIL To:, а не MAIL From:

Еще нашел вот что:

$man 5 pcre_table
...
EXAMPLE HEADER FILTER MAP
       /^Subject: make money fast/     REJECT
       /^To: friend@public\.com/       REJECT
...
Но в каком это файле и какой командой обновляется?
Или это просто пример фильтра для почты сделанный аналогично тому, как
это делают антивирусы?


-- 
С уважением, Алексей Любимов avl@cad.ru


             reply	other threads:[~2002-09-25  9:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-25  9:20 Alexey V. Lubimov [this message]
2002-09-25 14:07 ` [Comm] " Vitaly Ostanin
2002-09-25 16:37   ` "Алексей Любимов"
2002-09-25 16:52     ` Artem K. Jouravsky
2002-09-25 17:33       ` "Алексей Любимов"
2002-09-26  7:54         ` Artem K. Jouravsky
2002-09-26  8:24           ` Alexey V. Lubimov
2002-09-26  9:14             ` [Comm] fighting with... antispammers (Re: postfix - запрет на посылку почты с определенных адресов.) Artem K. Jouravsky
2002-09-25 17:46 ` [Comm] postfix - запрет на посылку почты с определенных адресов Ilya Palagin
2002-09-25 18:12   ` "Алексей Любимов"

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=20020925132051.77658cca.avl@l14.ru \
    --to=avl@l14.ru \
    --cc=community@altlinux.ru \
    /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 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