ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Опция smtpd_recipient_restrictions для postfix работает?
@ 2005-05-10 12:10 Slava Dubrovskiy
  2005-05-10 12:23 ` Valery V. Inozemtsev
  0 siblings, 1 reply; 12+ messages in thread
From: Slava Dubrovskiy @ 2005-05-10 12:10 UTC (permalink / raw)
  To: Community

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

Хочу сделать так как написано в
http://www.postfix.org/RESTRICTION_CLASS_README.html
====begin
"Protecting internal email distribution lists

    We want to implement an internal email distribution list. Something
like all@our.domain.com, which aliases to all employees. My first
thought was to use the aliases map, but that would lead to "all" being
accessible from the "outside", and this is not desired... :-)

Postfix can implement per-address access controls. What follows is based
on the SMTP client IP address, and therefore is subject to IP spoofing.

/etc/postfix/main.cf:
    smtpd_recipient_restrictions =
        check_recipient_access hash:/etc/postfix/access
        ...the usual stuff...

/etc/postfix/access:
    all@my.domain   permit_mynetworks,reject
    all@my.hostname permit_mynetworks,reject

===end

Делаю как тут написано, а postfix перестает работать, ругаясь вот так:

May 10 14:55:25 server postfix/smtpd[4574]: fatal: parameter
smtpd_recipient_restrictions": specify at least one working instance of:
check_relay_domains, reject_unauth_destination, reject, defer or
defer_if_permit
May 10 14:55:26 server postfix/master[1827]: warning: process
/usr/lib/postfix/smtpd pid 4574 exit status 1
May 10 14:55:26 server postfix/master[1827]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling

Система ALM 2.4 + update + backports

Вопрос: Почему не работает данная конструкция?
-- 
С уважением,
Дубровский Вячеслав.


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

end of thread, other threads:[~2005-05-11 13:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-10 12:10 [Comm] Опция smtpd_recipient_restrictions для postfix работает? Slava Dubrovskiy
2005-05-10 12:23 ` Valery V. Inozemtsev
2005-05-10 12:43   ` Slava Dubrovskiy
2005-05-10 12:47   ` Slava Dubrovskiy
2005-05-10 20:35     ` Pavel Usischev
2005-05-11 10:24       ` Slava Dubrovskiy
2005-05-11 12:01         ` Mike Lykov
2005-05-11 12:07           ` Slava Dubrovskiy
2005-05-11 12:47             ` Mike Lykov
2005-05-11 12:57               ` Slava Dubrovskiy
2005-05-11 13:11                 ` Slava Dubrovskiy
2005-05-11 13:17             ` Pavel Usischev

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