Heiko Baumann wrote:
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?

The suggestion to use a list manager is the "correct" solution. List managers already have the controls you are asking for with a well-defined admin interface.

Yes, you can do this with a postfix policy server by defining a list of valid senders for the recipient lists. There are some pre-written policy servers that may do what you need, look at http://www.postfix.org/addon.html#policy particularly the postfwd and apolicy servers should be able to do what you ask.

  -- Noel Jones

Reply via email to