ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: Community@altlinux.ru
Subject: [Comm] Опция smtpd_recipient_restrictions для postfix работает?
Date: Tue, 10 May 2005 15:10:03 +0300
Message-ID: <4280A49B.802@elan.com.ua> (raw)

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

Хочу сделать так как написано в
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

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


             reply	other threads:[~2005-05-10 12:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 12:10 Slava Dubrovskiy [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4280A49B.802@elan.com.ua \
    --to=slava@elan.com.ua \
    --cc=Community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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