Re: [Exim] Mailing to all users

Top Page
Delete this message
Reply to this message
Author: Steven A. Reisman
Date:  
To: Kevin Ratcliffe
CC: Exim Users
Subject: Re: [Exim] Mailing to all users
On Tue, Feb 11, 2003 at 03:11:14PM +0000, Kevin Ratcliffe wrote:
> I was wondering if there is a simple way to send mail to all users in my
> domain.
> I am currently using mail aliases for mailing to groups of users.


Build up a file with embedded SMTP commands:

   ehlo mydomain.com
   mail from: Fearless Leader <fearless@???>
   rcpt to: <addr1@???>
   rcpt to: <addr2@???>
   rcpt to: <addr3@???>
      .
      .
      .
   rcpt to: <addr9999@???>
   data
   To: Valued Subordinate
   From: Fearless Leader <fearless@???>
   Subject: Latest Fiat
   Reply-To: Fearless Leader <fearless@???>


   Dear Subordinate,
      .
      .
      .
   Yours Truly,


Fearless Leader
.
quit


"su" to an exim trusted user. Pipe the above file into exim with the
-bS option. Stand back.



Steve


----------------------------------------------------------------------
Steven A. Reisman          <sar@???>           P.O. Box 409
PressEnter LLP                                        421 N 2nd Street
715-426-2100 or 651-436-5254                    River Falls, WI  54022
----------------------------------------------------------------------