How to create a distribution list

I'm using Postfix/MySql, and I'd like to set up a mailing list of about 10 people.

To send a message to the group, they would send email to group@mydomain.com, and it would forward this to all 10 members.

The key is that unlike simply setting up an email forward from the group@ email to all 10 members, it would come "from" group@mydomain.com, not from the person who sent it.

This basically describes a mailing list/mailman sort of thing, but it's only ever going to be these 10 users, and I suspect there is an easy way to set this up with my config, and not having to installmailman, etc.

Can anyone suggest an easy way to do this?

thanks!

4 Replies

actually, now that I think about it, it's the "reply-to" that needs to come from the "list", not the from, or else people will not know who sent the msg.

@mactac:

actually, now that I think about it, it's the "reply-to" that needs to come from the "list", not the from, or else people will not know who sent the msg.
I'm not sure how practical (or perhaps even possible) it is to accomplish that with Postfix - it has various rewrite lookup tables but they're all pretty static direct mappings, so the challenge is to have them only take effect for this single destination address but for any senders sending to it.

I won't say absolutely it can't be done, but I suspect that figuring out an appropriate configuration, even if possible, might actually be more work than just installing mailman (for example) even if it's just to create the single distribution list, and you never set up the web interface for example.

I suppose one intermediate approach would be to have the main list name actually perform local delivery to a special account with a procmail or equivalent filter that would add the Reply-To and then re-queue the mail to an internal distribution name. The latter step might just be done through a .forward for that local delivery user.

But again, installing something like mailman isn't overly complex, and then you get a ton of other stuff for free beyond just forwarding the messages.

– David

OK, thanks a lot for the insight. I'll install mailman!

Also, there are simpler mailing list manager than Mailman - ecartis, smartlist, and so on… look for something small and easy to use, maybe? ;)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct