<quote who="WJCarpenter">
> If you instead define an email alias in your MTA (sendmail, exim,
> qmail, or whatever), you need merely address your message to that
> alias and let your mail plumbing do the fan-out.  If it has to do a
> dynamic query to some directory and build message envelope lists from
> that, what do you care?  That's the job it's taken on.  It's also
> useful whether you use SM or something else.  (The MTA can implement
> restrictions like only allowing certain senders to use the alias.)

I agree that an email alias is a better way of doing this task.  That
being said, don't you still have to keep the alias updated?

Here is one method to do so I found in the Sendmail FAQ:

http://www.sendmail.org/faq/section4.html#4.21

--------------------------------------------------------------------------
Subject: Q4.21 -- How can I send mail to all users?
Date: December 12, 2000

There is no magic short-cut for this. But it is not hard to set up: create
an aliases entry

alluser:        :include:/etc/mail/allusers

Don't forget to run 'newaliases'. Then list your users, one per line, in
the file '/etc/mail/allusers'. You might be able to do that with

        awk -F: '$3 > 100 { print $1 }' /etc/passwd > /etc/mail/allusers
---------------------------------------------------------------------------

Create a cron job to do that on a nightly basis and you are set.  I think.
 lol





-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to