Discussion:
Distribution list?
(too old to reply)
Knute Johnson
2024-02-19 17:47:40 UTC
Permalink
I need to set up a distribution list. Where one email is sent to one
user and it is then sent to multiple other users. They are all local
users although that might change. I know that I can make a large entry
in /etc/aliases but is there a more common or better way of doing this?
--
Knute Johnson
Martin Neitzel
2024-02-19 22:20:05 UTC
Permalink
I need to set up a distribution list. [...] I know that I can make a
large entry in /etc/aliases but is there a more common or better way of
doing this?
/etc/aliases is just fine. I don't hesitate to put alias lists in there
with, say, twenty users. Note that you can also define an alias with

somelist :include:/file/name

mechanism to delegate the address list (and their maintainance) to
somewhere else. (In fact, most mailing list software is using exactly
this mechanism.)

As long as the distribution list is for a very small, tightly knit group,
and senders care about reaching *all* other member, the users will probably
prefer to receive bounce messages directly. (An internal distribution
list for some project team, or the list for my six fellow road byciclists
work good this way.)

Whenever senders don't really care about who exactly is on the list
("***@...") then bounces should go to whoever is maintaining the
/etc/alias entry or the :included: address list. In that case, simply
add a corresponding "owner-" alias"

owner-somelist: postmaster

This will cause the envelope-sender to be changes, and thusly the address
bounces will go to. This also is a MUST as soon as you add external
addresses to the list. (Otherwise, you'll probably violat a sender's
SPF restrictions.)

Martin Neitzel
Marco Moock
2024-02-20 06:41:16 UTC
Permalink
Post by Knute Johnson
I need to set up a distribution list. Where one email is sent to one
user and it is then sent to multiple other users. They are all local
users although that might change. I know that I can make a large
entry in /etc/aliases but is there a more common or better way of
doing this?
If you want a more flexible way, use a mailing list software like
Mailman, Listserv or Sympa.
--
kind regards
Marco

Send spam to ***@cartoonies.org
Mike Scott
2024-02-20 09:35:08 UTC
Permalink
Post by Marco Moock
Post by Knute Johnson
I need to set up a distribution list. Where one email is sent to one
user and it is then sent to multiple other users. They are all local
users although that might change. I know that I can make a large
entry in /etc/aliases but is there a more common or better way of
doing this?
If you want a more flexible way, use a mailing list software like
Mailman, Listserv or Sympa.
IIRC the latest mailman doesn't really support sendmail. mailman2 used
to, but uses python2 so is rather obsolete, although not hard to set up
and use.

spf and dkim have rather messed up a simple approach :-{

I've been hoping to find a simple internet service for this job, but
haven't seen anything obvious (plenty of commercial "mailing list
managers" that seem oriented around using a web service to send business
material, which isn't what's wanted here). Does anyone know of any such?
--
Mike Scott
Harlow, England
Marco Moock
2024-02-20 10:40:37 UTC
Permalink
Post by Mike Scott
Post by Marco Moock
Post by Knute Johnson
I need to set up a distribution list. Where one email is sent to
one user and it is then sent to multiple other users. They are
all local users although that might change. I know that I can
make a large entry in /etc/aliases but is there a more common or
better way of doing this?
If you want a more flexible way, use a mailing list software like
Mailman, Listserv or Sympa.
IIRC the latest mailman doesn't really support sendmail.
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html

Sendmail support LMTP.
https://www.oreilly.com/library/view/sendmail-3rd-edition/1565928393/re166.html
Post by Mike Scott
spf and dkim have rather messed up a simple approach :-{
As long as you don't change the message, DKIM will be fine.
MAIL FROM must be set to the listserver address, so it can process
bounces.
That makes SPF work.

The problem is DMARC alignment because now SPF domain and DKIM domain
aren't the same in some situations.
Post by Mike Scott
I've been hoping to find a simple internet service for this job, but
haven't seen anything obvious (plenty of commercial "mailing list
managers" that seem oriented around using a web service to send
business material, which isn't what's wanted here). Does anyone know
of any such?
Mailman and Sympa are for free.
Sympa can be used by stdin, so aliases/virtuser-aliases can be used and
it supports creating those files automatically.
--
kind regards
Marco

Send spam to ***@cartoonies.org
Mike Scott
2024-02-20 10:55:51 UTC
Permalink
On 20/02/2024 10:40, Marco Moock wrote:
....
Post by Marco Moock
Post by Mike Scott
IIRC the latest mailman doesn't really support sendmail.
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html
Sendmail support LMTP.
https://www.oreilly.com/library/view/sendmail-3rd-edition/1565928393/re166.html
Post by Mike Scott
spf and dkim have rather messed up a simple approach :-{
As long as you don't change the message, DKIM will be fine.
MAIL FROM must be set to the listserver address, so it can process
bounces.
That makes SPF work.
The problem is DMARC alignment because now SPF domain and DKIM domain
aren't the same in some situations.
Thanks for the clarification. I'm afraid I got my setup to work,
somehow, a few years ago. I've rather forgotten the details.
Post by Marco Moock
Post by Mike Scott
I've been hoping to find a simple internet service for this job, but
haven't seen anything obvious (plenty of commercial "mailing list
managers" that seem oriented around using a web service to send
business material, which isn't what's wanted here). Does anyone know
of any such?
Mailman and Sympa are for free.
Sympa can be used by stdin, so aliases/virtuser-aliases can be used and
it supports creating those files automatically.
Thanks for the reply.

I was running mailman2 at home on behalf of a local choir; I stopped a
couple of years ago when the choir reduced its activities somewhat.

I'm really looking for a way to avoid running a "private" mail server at
all - I need a way to provide a members' mail list for a local church
without needing a server that will need someone to manage it. I'm
surprised not to find cheap (free even?) mail list exploder services around.
--
Mike Scott
Harlow, England
Grant Taylor
2024-02-21 04:30:02 UTC
Permalink
Post by Mike Scott
spf and dkim have rather messed up a simple approach :-{
SRS seems to work just fine for me.



Grant. . . .
Knute Johnson
2024-02-21 17:01:26 UTC
Permalink
Post by Grant Taylor
Post by Mike Scott
spf and dkim have rather messed up a simple approach :-{
SRS seems to work just fine for me.
Grant. . . .
Pardon my ignorance but what is SRS?
--
Knute Johnson
Marco Moock
2024-02-21 19:51:27 UTC
Permalink
Post by Knute Johnson
Pardon my ignorance but what is SRS?
https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme
--
kind regards
Marco

Send spam to ***@cartoonies.org
Knute Johnson
2024-02-22 14:58:33 UTC
Permalink
Post by Marco Moock
Post by Knute Johnson
Pardon my ignorance but what is SRS?
https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme
That's really interesting but I'm not sure I understand it. It does
bring up another couple of questions which I will put in another post.

Thanks,
--
Knute Johnson
Grant Taylor
2024-02-22 03:01:23 UTC
Permalink
Post by Knute Johnson
Pardon my ignorance but what is SRS?
There's nothing to pardon. Being ignorant of something is a starting
place. Asking questions and wanting to learn to change ignorance into
knowledge is a good thing. :-)
--
Grant. . . .
Loading...