ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] postfix и ограничение прав пользователей (relay)
@ 2004-12-08 13:33 Roman V. Tutov
  0 siblings, 0 replies; only message in thread
From: Roman V. Tutov @ 2004-12-08 13:33 UTC (permalink / raw)
  To: Community

Здравствуйте, .

Задача .разрешить с сервера отправку на любой адрес только с одного
ящика  , а с других  почта может ходить на любой сервер из списка ,а
на остальные нет . По русски ...наши филиалы перписываться между собой
могут как душе угодно , а вот если хотят писать,например , на mail.ru
то будьте добры писать с определенного ящика .

реализация
_____________main.cf_________________________________
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders, permit_sasl_authenticated, permit_auth_destination, reject
smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/local_domains, reject
_________________________end of main.cf_______


____________________________/etc/postfix/local_domains________
mv.aston.ru OK
aston.ru OK
rostov.aston.ru OK
_____________________end of /etc/postfix/local_domains________


____________________/etc/postfix/restricted_senders______________
tutov@mv.aston.ru     local_only

_____________________end of /etc/postfix/restricted_senders______

Далее . При отправке письма с адреса  tutov@mv.aston.ru на адрес
tutov@aston.ru все прекрасно ,письмо уходит .а на Адрес юзер@mail.ru
-не уходит .Здесь все OK !

НО пользователь не внесенный в файл /etc/postfix/restricted_senders
ВООБЩЕ не может никуда писать . не в пределах своего домена ,не наружу

Куда копать ?


-- 
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group 
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная" 
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru



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

only message in thread, other threads:[~2004-12-08 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-08 13:33 [Comm] postfix и ограничение прав пользователей (relay) Roman V. Tutov

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