Date: Wed, 18 Oct 2000 13:22:08 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: "Colin Jack" <colin@mainline.co.uk> Cc: questions@freebsd.org Subject: Re: Mailing Users Message-ID: <14829.59984.299814.581924@guru.mired.org> In-Reply-To: <45357125@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Colin Jack writes: > Is there a way that I can send an email to all users on a server? The idea > is to warn everyone of downtime for maintenance, but with a couple of > hundred users .... there HAS to be an easy way :-) Since nobody mentioned it, *my* favorite way to do this is: $ cd /home $ mail -s "Canned message subject" * < ~/canned-message Anyone who thinks that's an abuse of shell globbing is right, but it's the best you can do when "mail *@localhost" doesn't work properly. <mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14829.59984.299814.581924>