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?

thanks for you help!

heiko

Reply via email to