After installing Mailman, the ebuild says: > An example Mailman configuration file for Apache has been installed into: > /etc/apache2/modules.d/50_mailman.conf > > To enable, you will need to add "-D MAILMAN" to > /etc/conf.d/apache2. This is not only terribly imprecise (actually it should be added to the APACHE2_OPTS variable in that file), but it also simply doesn't work. Or work too well, depending on your point of view. Having a look at that 50_mailman.conf file I noticed that it doesn't even care about the MAILMAN setting. There's nothing like an <IfDefine> in that file. This has the effect that the aliases defined in the 50_mailman.conf file become available in _all_ virtual hosts on this machine, regardless of whether I defined MAILMAN or not. Solution: The file's content should be enclosed in <IfDefine MAILMAN>...</IfDefine>, and the ebuild message should be fixed. I'm not quite sure if this has any security implications.
Created attachment 97696 [details, diff] mailman.diff This is a patch to mailman ebuild, (as well as 50_mailman.conf).
I forgot to mention that the patch also adds a nice redirect match for people.
*** Bug 153989 has been marked as a duplicate of this bug. ***
fixed