ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Postfix -- access
@ 2005-04-05 21:05 Jury Levykin
  2005-04-06  5:03 ` Mike Lykov
  0 siblings, 1 reply; 7+ messages in thread
From: Jury Levykin @ 2005-04-05 21:05 UTC (permalink / raw)
  To: community

ALM 2.4
Я хочу разрешить принимать писма некоторым пользователям
если только они были отправлены из mynetworks, в других случаях отвергать.

В main.cf я добавил строку:
smtpd_client_restrictions = permit_mynetworks, hash:/etc/postfix/access

В /etc/postfix/access одна строка:
username@   REJECT

Выполняю:
# postmap /etc/postfix/access
# service postfix restart

Отправляю письмо с внешнего SMTP на username@mydomain.ru, письмо 
принимается.
Что я делаю неправильно?


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

end of thread, other threads:[~2005-04-06 10:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-05 21:05 [Comm] Postfix -- access Jury Levykin
2005-04-06  5:03 ` Mike Lykov
2005-04-06  6:18   ` Jury Levykin
2005-04-06  6:42     ` Mike Lykov
2005-04-06  7:11       ` Jury Levykin
2005-04-06  7:53         ` Mike Lykov
2005-04-06 10:51           ` Jury Levykin

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