On Sat, 21 Mar 2009 00:22:24 +0100, mouss <[email protected]> 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
>> 
>> [email protected] [email protected] [email protected] [email protected]
>> [email protected] [email protected] [email protected] [email protected]
>> 
>> [email protected] is allowed to send to [email protected] but not to
send
>> to [email protected]
>> [email protected] is allowed to send to [email protected] but not to
send
>> to [email protected]
>> 
>> [email protected] is allowed to send to [email protected]
but
>> not to [email protected]
>> 
>> 
>> 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?

Reply via email to