[Comm] Опция smtpd_recipient_restrictions для postfix работает?

Slava Dubrovskiy =?iso-8859-1?q?slava_=CE=C1_elan=2Ecom=2Eua?=
Вт Май 10 16:10:03 MSD 2005


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

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

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



Подробная информация о списке рассылки community