I have a postfix with the following in /etc/postfix/main.cf:
virtual_alias_domains = hash:/etc/postfix/mydomains
virtual_alias_maps = hash:/etc/postfix/virtual
These specify the domains set up for mail forwarding, and the mail forwarding mappings.
I would like to set up a simple mailing list, which can easily be achieved by adding to the mapping file. However, I would like to add a "reply-to" header to the messages so that replies get sent back to the list rather than the original sender. I'm fairly sure this is possible with a regular expression, but I'm not quite sure where to put it.
Secondly, I wonder is it possible to make Postfix reject messages if they don't come from one of the members of the mailing list? This would be nice to have, but not essential.
The list will have about ten members, and will change very rarely, so hard coding the member addresses into regular expressions wouldn't be a big problem.
Any help would be appreciated.