raf wrote:
> Dan Mahoney wrote:
> > Or the perl-based one written for perl 4 with the last release
> > sometime in 2000 (majordomo)?
>
> Assuming that wasn't a rhetorical question, :-)
> I'd consider majordomo. It probably does
> what you need without being a hassle.
> It works in Perl 5 too, you know. :-)
> And it doesn't need a database or a web server.

There is at least one bug for very large messages such as large image
attachments which causes problems.  But, sure, whatever.

> If memory serves, you need to set up enough aliases
> for each mailing list that it's worth automating
> their addition, but if it's a single list, you
> wouldn't need to. This is what I used to have in
> aliases for each list.
>
>   # Majordomo template
>   # (e.g. (LIST, DOMAIN, DOM, ME) = (firewall-users, fwup.org, fwup, raf))

Seems oddly...  *specific*.  :-)

>   # LIST: "| /opt/majordomo/wrapper resend -C /opt/majordomo/DOMAIN.cf -l 
> LIST -h DOMAIN LIST-outgoing"
>   # LIST-outgoing: :include:/opt/majordomo/lists/DOMAIN/LIST,

If someone knows that LIST-outgoing exists then it can be abused by
sending there directly.  Suggestion: Attempt to avoid that possibility
by using a random string in replacement for "outgoing" in
LIST-outgoing making that abuse more difficult.

    LIST-zcSoC90h: :include:/opt/majordomo/lists/DOMAIN/LIST,

This is not perfect because it shows up in Delivered-To: but it
prevents a blind guessing attack of a well known address.  And it can
always be spun and rotated at any time if it becomes abused since it
is not a public interface.

>   #   "| /opt/majordomo/wrapper digest -c /opt/majordomo/DOMAIN.cf -r -C -l 
> LIST-digest LIST-digest-outgoing",
>   #   "| /opt/majordomo/wrapper archive2.pl -C /opt/majordomo/DOMAIN.cf -a -m 
> -f /opt/majordomo/lists/DOMAIN/LIST.archive"
>   # LIST-digest-outgoing: :include:/opt/majordomo/lists/DOMAIN/LIST-digest
>   # LIST-digest: LIST

Personally I also hate that users today do not know how to handle
digests.  It almost always results in users responding to the list
from the digest subject rather than from the individual message in the
digest.  Very few users these days know how to deal with digests.
Therefore I would also recommend avoiding setting up digests at all.
Help users out by not allowing them to make poor choices.

> Oh, actually majordomo.pl shouldn't work in perl5 since 5.10.
> It uses $* which was removed then (2007). That's wierd. It
> was still working for me in 2015.

Only a few changes are needed for perl 5.10.  Needed since 2008 or so!

    https://www.mail-archive.com/misc@openbsd.org/msg69481.html

Bob

Reply via email to