ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Postfix + ограничение на отправку и получение почты
@ 2005-08-16  7:18 Alex Alex
  0 siblings, 0 replies; only message in thread
From: Alex Alex @ 2005-08-16  7:18 UTC (permalink / raw)
  To: community

Здравствуйте.
Не справился с задачей, нужна помощь знающих людей.

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

имеется небольшая локальная сеть, локальный домен

Postfix 2.0.16

main.cf
------------
myhostname = gate.locnet.ru
domain = locnet.ru
mynetworks_style = subnet
mynetworks = 192.168.0.0/24, 127.0.0.0/8
#relayhost =
....
smtpd_recipient_restriction = 
     check_sender_access hash:/etc/postfix/restricted_senders
smtp_restriction_classes = local_only
local_only = 
     check_recipient_access hash:/etc/postfix/local_domains, reject

------------
#/etc/postfix/restricted_senders
user@locnet.ru  OK
user@mail.ru    OK

#/etc/postfix/local_domains
locnet.ru  OK
------------
     
Отправка почты происходит с адреса: user@mail.ru

Где я недоделал?




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

only message in thread, other threads:[~2005-08-16  7:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-16  7:18 [Comm] Postfix + ограничение на отправку и получение почты Alex Alex

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