Send service email to all my users?

Rob Siemborski rjs3 at
Mon Jun 30 13:03:41 EDT 2003

On Mon, 30 Jun 2003, Ted Fines wrote:

> Can you generate a list of your users?
> Once you have that, a simple Perl program could be used to send them each a
> message, using the Perl Mail::Sender module.  Here's a snippet of a Perl
> program we use to send mass email:
> Just get your list of users and put it into the '@list_of_all_userids'
> array and they'll all get mailed.

Note that this will result in a single message per user, which is
tremendously more taxing on the servers to actually do.

If you're going to do this frequently, you'll want to put all of the
recipients in a single SMTP envelope, so that your SMTP server can give
them to lmtpd as a part of a single transaction.

This also gains you the benefit of single instance store: 3000 people
share the same data ;)


Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

More information about the Info-cyrus mailing list