You can create a mailing list in Exim that is aliased to a group name. If users send to that particular group name, all the members of that group will recieve an email. Should users reply to this email, it will be sent to all the users in that group as well.
This can be easily done by doing the following:
- create the directory: /usr/local/atmail/mailserver/lists
- in that directory, create a file under the group name that you want (i.e., foo-group), and have it contain email-addresses in the following format:
firstname.lastname@example.org email@example.com firstname.lastname@example.org
- add the following line in /usr/local/atmail/mailserver/configure, under the dnslookup router:
lists: driver = redirect domains = groupdomain.com more = false file = /usr/local/atmail/mailserver/lists/$local_part skip_syntax_errors forbid_pipe forbid_file
- where groupdomain.com is the domain the groupname will be in.
- restart the @Mail services:
% /etc/init.d/atmailserver restart
This should then have Exim send emails to all the users in /usr/local/atmail/mailserver/lists/foo-group if the user email@example.com is emailed. Should you want to add more users to the group, just edit the /usr/local/atmail/mailserver/lists/foo-group file.