[clue-tech] local mass emailer
Dave Price
kinaole at gmail.com
Fri Jun 3 16:01:34 MDT 2005
Not a standard, but it is really easy to set up exim to handle a
distribution list - which in it's simplest form is just a text file
with one address per line.
Assuming you can build/maintain such a file for all local users, then
you can send mail to it.
All I had to do to get this working was add this to the "Directors"
section of /etc/exim/exim.conf:
####
lists:
driver = forwardfile
domains = lists.mlc
no_more
file = /home/exim/$local_part
no_check_local_user
forbid_pipe
forbid_file
errors_to = postmaster
####
Lists are stored in /home/exim - must be chmod 700 and belong to the
exim user (mail in my case)
Then I just address mail to <filename>@lists.mlc ... change the
'domains' line so your address is whatever you want to use...
HTH
aloha,
dave
On 6/3/05, Angelo Bertolli <angelo at freeshell.org> wrote:
> Is there a command/program in Linux for emailing every user on the
> system? In particular just using cat >> to their mailboxes won't work
> since it should obey .forward too.
>
> Angelo
>
> _______________________________________________
> CLUE-tech mailing list
> CLUE-tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
>
More information about the clue-tech
mailing list