Actually I'm working with Postfix server and trying to implement distribution list with simple restrictions.
My assumptions: I created alias: [email protected] -> [email protected], [email protected], [email protected]
I want to restrict [email protected] that wway, that only [email protected] [email protected] can write to managers list.
According to [http://postfix.cs.utah.edu/RESTRICTION_CLASS_README.html#internal][1]
I created in FILE main.cf:
...
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 insiders:
[email protected] OK
[email protected] OK
But it works by blocking all incoming emails from outside. As I wrote before, my intention is to let only addresses from managers_sender_list to write to [email protected] and let other activity be done in normal way.
The question is: how to implement these assumptions properly ?