mail to all users on a system (from root)

Mark admin at asarian-host.net
Mon Apr 14 03:13:24 PDT 2003


----- Original Message -----
From: "Matthew Seaman" <m.seaman at infracaninophile.co.uk>
To: "Mike Meyer" <mwm at mired.org>
Cc: <questions at freebsd.org>
Sent: Monday, April 14, 2003 11:17 AM
Subject: Re: mail to all users on a system (from root)


... set up an alias that includes that list in /etc/mail/aliases:

    everybody: :include: /etc/mail/everybody.list

And what will you do if a spam hits that address? Then that spam multiplies
by an order of magnitude! Would it not be beautiful if you could say
something thing like,

    everybody: :include:root /etc/mail/everybody.list ?

I mean, aliases that can only be invoked by a specific user. Come to think
of it, for all purposes and intent, "chmod 600 /etc/mail/everybody.list" (as
user that will use the alias) will probably yield the desired effect.

- Mark



More information about the freebsd-questions mailing list