其实我正在使用Postfix服务器,并试图通过简单的限制来实现分发列表。
我的假设:我创build了别名: [email protected] – > [email protected],[email protected],[email protected]
我想限制[email protected] ,唯一的办法是只有[email protected] [email protected]可以写入pipe理员名单。
根据[ http://postfix.cs.utah.edu/RESTRICTION_CLASS_README.html#internal][1]
我在FILE main.cf中创build:
... smtpd_recipient_restrictions = ... check_sender_access hash:/etc/postfix/sender_access, check_recipient_access hash:/etc/postfix/protected_destinations, ... smtpd_restriction_classes = insiders_only insiders_only = check_sender_access hash:/etc/postfix/insiders, reject
FILE / etc / postfix / protected_destinations :
... [email protected] insiders_only ...
FILE 内部人士 :
[email protected] OK [email protected] OK
但它通过阻止来自外部的所有传入电子邮件起作用。 正如我以前写的,我的意图是只让来自managers_sender_list的地址写到[email protected],让其他活动以正常的方式完成。
问题是:如何正确实施这些假设?