Re: [Exim] Address Groups

Top Page
Delete this message
Reply to this message
Author: Walt Reed
Date:  
To: Chad Morris
CC: exim-users
Subject: Re: [Exim] Address Groups
On Thu, Jul 17, 2003 at 07:08:09PM -0400, Chad Morris said:
> Is there any way to create address groups in exim...like for a school
> setting, if I wanted to say all_teachers@???? Can I put certain
> users into an "all_teachers" group? So that when someone sends an email
> to that address then everyone in that group is emailed?


Yes, and it's easy.

In the default configuration, exim looks in the /etc/aliases file. In
this file, you can have a list like:

all_teachers: bob,mary,bill,jane

If you have a large list that you want to create from some other
database, you can also have the list in a separate file. In this case,
you would put this in /etc/aliases:

all_teachers: :include:/etc/teacherslist

and the /etc/teacherslist file would contain:

bob,mary,bill,jane


This make sense? There are also ways to configure exim to look in
various other databases, but it can get complicated quickly.