ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Ограничения на прием почты отдельным пользователям в postfix
@ 2005-12-08  9:46 Egorov Alexey
  2005-12-08  9:54 ` Egorov Alexey
  2005-12-08 16:39 ` Egorov Alexey
  0 siblings, 2 replies; 13+ messages in thread
From: Egorov Alexey @ 2005-12-08  9:46 UTC (permalink / raw)
  To: ALT Linux Community

Народ, подскажите где собака порылась ?
Есть задача - ограничить определенному пользователю получать почту 
только с определенных 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 неполучает почту

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-12-12  8:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-08  9:46 [Comm] Ограничения на прием почты отдельным пользователям в postfix Egorov Alexey
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

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