ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Egorov Alexey <egorov@strat.chtts.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] Ограничения на прием почты отдельным пользователям в postfix
Date: Thu, 08 Dec 2005 12:46:50 +0300
Message-ID: <4398010A.1030005@strat.chtts.ru> (raw)

Народ, подскажите где собака порылась ?
Есть задача - ограничить определенному пользователю получать почту 
только с определенных email.
В приципе есть описание в 
http://www.postfix.org/RESTRICTION_CLASS_README.html
Делаю как там указанно:

Добаляю в main.cf:
smtpd_recipient_restrictions =
  check_recipient_access hash:/etc/postfix/protected_destinations,
  ну и далее.....

smtpd_restriction_classes = insiders_only
insiders_only = check_sender_access hash:/etc/postfix/insiders, reject

Создаю файлы:
/etc/postfix/protected_destinations
/etc/postfix/insiders

Добавляю в protected_destinations
test@domain.com insiders_only

Добавляю в insiders
domain2.com OK

Делаю postmap hash: файлов protected_destinations и insiders.
Затем postfix reload
и в логах postfix вижу:
Dec  8 12:14:41 domain postfix/smtpd[4553]: warning: unknown smtpd 
restriction: "insiders_only"

Соответсвенно test@domain.com неполучает почту

Что нужно подправить ?



             reply	other threads:[~2005-12-08  9:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08  9:46 Egorov Alexey [this message]
2005-12-08  9:54 ` Egorov Alexey
2005-12-08 16:39 ` Egorov Alexey
2005-12-08 18:13   ` Vladimir V. Kamarzin
2005-12-08 19:56     ` Egorov Alexey
2005-12-08 20:05       ` Egorov Alexey
2005-12-08 20:39       ` Vladimir V. Kamarzin
2005-12-08 20:56         ` Egorov Alexey
2005-12-09  7:32           ` Slava Dubrovskiy
2005-12-09  8:06             ` Egorov Alexey
2005-12-10  8:25               ` Egorov Alexey
2005-12-10 17:32                 ` Andriy Dobrovol`s`kii
2005-12-12  8:37                   ` Egorov Alexey

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=4398010A.1030005@strat.chtts.ru \
    --to=egorov@strat.chtts.ru \
    --cc=community@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 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