On Sat, 21 Mar 2009 00:22:24 +0100, mouss <mo...@ml.netoyen.net> wrote: > Heiko Baumann a écrit : >> hello, >> >> in our postfix setup we use virtual_alias_maps to build some simple >> mailing-/distribution lists. now we want to reject every mail to a list >> where the sender is not a member of the list. >> >> >> example: >> >> virtual_alias_maps >> >> li...@domaina.tld us...@domain1.tld us...@domain1.tld us...@domain1.tld >> li...@domainb.tld us...@domain2.tld us...@domain2.tld us...@domain2.tld >> >> us...@domain1.tld is allowed to send to li...@domaina.tld but not to send >> to li...@domainb.tld >> us...@domain2.tld is allowed to send to li...@domainb.tld but not to send >> to li...@domaina.tld >> >> unknownu...@unknowndomain.tld is allowed to send to us...@domainx.tld but >> not to li...@domainx.tld >> >> >> to accomplish this i found >> http://www.postfix.org/RESTRICTION_CLASS_README.html#internal and it >> seems >> to work. >> >> but im not sure how this will scale with a greater amount of >> lists/members >> and if it would be a better decision to use some policy daemon to do this >> stuff. >> >> any recommendations? >> > > use a list manager (mailman, sympa, ...).
i guess a list manager is overkill for our setup. we just export the alias maps from a db and only need the additional feature to block mails to a list from an "unknown" sender. it looks like we can redirect mail via the policy interface in postfix. is it okay to use a policy daemon for redirection or are there any drawbacks? anyone using such a setup?