Allen Coates: > Given that you also have distribution-ow...@myhost.com as an alias, > is there an easy way of making it a "closed" list, such that only > the list-members can write > to it? > > I am thinking of the committee of a small club (ten addresses at most). >
A proper mailing list manager might do the job, otherwise there are some ideas in http://www.postfix.org/RESTRICTION_CLASS_README.html#internal Wietse > > > > On 29/01/2022 14:43, Wietse Venema wrote: > > Markus Grunwald: > >> Hello Wietse, > >> > >>> What I wrote was regardless of whether one uses mailing list > >>> management software. > >>> > >>> http://www.postfix.org/aliases.5.html > >>> > >>> With Postfix aliases(5), if mail is sent to an alias 'foo', and > > > > That's alias_maps not virtual_alias_maps. > > > > Wietse > > > >>> there also is an alias 'owner-foo', then the enveloope sender > >>> address > >>> will be set to owner-foo. This behavior already existed in > >>> Sendmail. > >>> > >> > >> That sounds like you've found the solution for my problem... My > >> distribution list is *very* static. Only every few years something > >> changes. > >> > >> So I have to add the members of the distribution list to the > >> aliases? Say, if my distribution looked like this (virtual_alias): > >> > >> distribut...@myhost.com a...@a.com, b...@b.com > >> > >> > >> What would I have to add to /etc/aliases? > >> > >> Thank you for the pointer to aliases(5)! > >> > >> cu > >> -- > >> Markus Grunwald > >> >